Ask a question to get started
Enter to sendā¢Shift+Enter new line
similarity_search_with_vectors( self, query: str, k: int = DEFAULT_K, filter: dict
query
str
Query text to search for.
k
int
DEFAULT_K
Number of results to return.
filter
dict[str, str] | None
None
where_document
kwargs
Any
{}
Run similarity search with Chroma with vectors.
Filter by metadata.
dict used to filter by the document contents. E.g. {"$contains": "hello"}.
Additional keyword arguments to pass to Chroma collection query.