Ask a question to get started
Enter to sendā¢Shift+Enter new line
similarity_search_by_vector( self, embedding: list[float], k: int = DEFAULT_K
embedding
list[float]
Embedding to look up documents similar to.
k
int
DEFAULT_K
Number of Documents to return.
filter
dict[str, str] | None
None
where_document
kwargs
Any
{}
Return docs most similar to embedding vector.
Filter by metadata.
dict used to filter by the document contents. E.g. {"$contains": "hello"}.
Additional keyword arguments to pass to Chroma collection query.