Ask a question to get started
Enter to sendā¢Shift+Enter new line
Returns the k most similar documents to the given embedding vector
similarity_search_by_vector( self, embedding: List[float], k: int = 4, **kwargs: Any = {} ) -> List[Document]
embedding
List[float]
The embedding vector to search for
k
int
4
The number of similar documents to return