Spaces:
				
			
			
	
			
			
					
		Running
		
			on 
			
			CPU Upgrade
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
			on 
			
			CPU Upgrade
	add spaces semantic search
Browse files
    	
        utils/datas/api_collections.ts
    CHANGED
    
    | 
         @@ -106,6 +106,18 @@ export const API_COLLECTIONS: Array<ApiCollection> = [ 
     | 
|
| 106 | 
         
             
                      filter: "Filter based on tags, such as text-classification or spacy.",
         
     | 
| 107 | 
         
             
                    },
         
     | 
| 108 | 
         
             
                  },
         
     | 
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 109 | 
         
             
                  {
         
     | 
| 110 | 
         
             
                    method: "GET",
         
     | 
| 111 | 
         
             
                    path: "/api/spaces/{repo_id}",
         
     | 
| 
         | 
|
| 106 | 
         
             
                      filter: "Filter based on tags, such as text-classification or spacy.",
         
     | 
| 107 | 
         
             
                    },
         
     | 
| 108 | 
         
             
                  },
         
     | 
| 109 | 
         
            +
                  {
         
     | 
| 110 | 
         
            +
                    method: "GET",
         
     | 
| 111 | 
         
            +
                    path: "/api/spaces/semantic-search",
         
     | 
| 112 | 
         
            +
                    parameters: {
         
     | 
| 113 | 
         
            +
                      q: "",
         
     | 
| 114 | 
         
            +
                      category: "",
         
     | 
| 115 | 
         
            +
                    },
         
     | 
| 116 | 
         
            +
                    tooltips: {
         
     | 
| 117 | 
         
            +
                      q: "Search query for semantic search",
         
     | 
| 118 | 
         
            +
                      category: "Filter based on space categories",
         
     | 
| 119 | 
         
            +
                    },
         
     | 
| 120 | 
         
            +
                  },
         
     | 
| 121 | 
         
             
                  {
         
     | 
| 122 | 
         
             
                    method: "GET",
         
     | 
| 123 | 
         
             
                    path: "/api/spaces/{repo_id}",
         
     |