Ask a question to get started
Enter to sendā¢Shift+Enter new line
Performs a similarity search for a given query string. Requires pandas to be installed. This was the previously executed method for similarity search.
similarity_search_pd( 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.