Ask a question to get started
Enter to sendā¢Shift+Enter new line
Return docs most similar to docstore_index.
similarity_search_by_index( self, docstore_index: int, k: int = 4, search_k: int = 1, **kwargs: Any = {} ) -> List[Document]
docstore_index
int
Index of document in docstore
k
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