Ask a question to get started
Enter to sendā¢Shift+Enter new line
Performs a similarity search for a given query string. Does not require pandas to be installed.
similarity_search( self, query: str, k: int = 4, **kwargs: Any = {} ) -> List[Document]
query
str
The query string to search for.
k
int
4
The number of similar texts to return.