Ask a question to get started
Enter to sendā¢Shift+Enter new line
Perform a search on a query string and return results with score.
similarity_search_with_score( self, query: str, k: int = 4, **kwargs: Any = {} ) -> List[Tuple[Document, float]]
query
str
The text being searched.
k
int
4
The amount of results to return. Defaults to 4.