Filtering on Reference Class in DocuementSearchPipeline #6535
Unanswered
patrick-brainpool
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using a
DocumentSearchPipeline
for a semantic search using anEmbeddingRetriever
where the document store is a Weaviate Database. I have a reference class that I'd like to apply a filter to when doing the search when running the pipeline. I've tried"filters": {"<property name of reference class>.<reference class name>.<property name in reference class that I'd like to filter on>" : ["<value>"]}
and nesting the reference class in dictionaries. I can apply the filter directly against the Weaviate DB, but I'm not sure if this is possible through the Haystack interface. I've tried to find info on how to do this in the documentation, but am struggling to find any. Is it possible to apply filters on reference classes through theDocumentSearchPipeline
in Haystack? Any help would be much appreciated!Beta Was this translation helpful? Give feedback.
All reactions