src/python/txtai/api.py
def search(self, query, request):
        """
        Runs an embeddings search for query and request. Downstream applications can override this method
        to provide enriched search results.

        Args:
            query: input query
            request: FastAPI request

        Returns:
            list of (uid, score)
        """

        return self.embeddings.search(query, self.size(request))

        Runs an embeddings search for query and request. Downstream applications can override this method
        to provide enriched search results.

        Args:
            query: input query
            request: FastAPI request

        Returns:
            list of (uid, score)
        
Runs an embeddings search for query and request. Downstream applications can override this method
to provide enriched search results.
Runs an embeddings search for query and request . Downstream applications can override this method to provide enriched search results .
def search(self, query, request):
        return self.embeddings.search(query, self.size(request))
def search ( self , query , request ) : return self . embeddings . search ( query , self . size ( request ) )
Runs an embeddings search for query and request.
Runs an embeddings search for query and request .
"""
        Runs an embeddings search for query and request. Downstream applications can override this method
        to provide enriched search results.

        Args:
            query: input query
            request: FastAPI request

        Returns:
            list of (uid, score)
        """
list of (uid, score)
list of ( uid score )
self
query
None
request
None