Ask a question to get started
Enter to send•Shift+Enter new line
Async return docs most similar to query.
asimilarity_search( self, query: str, k: int = 4, **kwargs: Any = {} ) -> list[Document]
query
str
Input text.
k
int
4
Number of Document objects to return.
Document
**kwargs
Any
{}
Arguments to pass to the search method.