Ask a question to get started
Enter to sendā¢Shift+Enter new line
Return docs most similar to query.
similarity_search_with_score( self, query: str, k: int = 4, search_k: int = 1 ) -> List[Tuple[Document, float]]
query
str
Text to look up documents similar to.
k
int
4
Number of Documents to return. Defaults to 4.
search_k
-1
inspect up to search_k nodes which defaults to n_trees * n if not provided