Ask a question to get started
Enter to sendā¢Shift+Enter new line
similarity_search( self, query: str, k: int = 4, param: Optional
query
str
The text to search.
k
int
4
How many results to return. Defaults to 4.
param
dict | list[dict]
None
expr
timeout
kwargs
Any
{}
Perform a similarity search against the query string.
The search params for the index type. Defaults to None.
Filtering expression. Defaults to None.
How long to wait before timeout error. Defaults to None.
Collection.search() keyword arguments.