You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I need to pass filters to the ChromaEmbeddingRetriever to retrieve on specific segments of the ChromaDocumentStore at retrieval time.
Describe the solution you'd like
I want to be able to do this:
retriever=ChromaEmbeddingRetriever(document_store=docstore, top_k=5)
embedder=OpenAITextEmbedder(model="text-embedding-3-small")
retrieval=Pipeline()
retrieval.add_component("embedder", embedder)
retrieval.add_component("retriever", retriever)
retrieval.connect("embedder.embedding", "retriever.query_embedding")
retrieval.run({
"embedder": {"text": "What do they say about their families"},
"retriever": {"filters": {"doc_id": 4}}
})
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I need to pass filters to the ChromaEmbeddingRetriever to retrieve on specific segments of the ChromaDocumentStore at retrieval time.
Describe the solution you'd like
I want to be able to do this:
The text was updated successfully, but these errors were encountered: