Replies: 2 comments 6 replies
-
I'm not sure tbh. Looking through qdrant docs I would have guessed |
Beta Was this translation helpful? Give feedback.
1 reply
-
And using this approach you are able to search through array field in meta? Can you share the filter now? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone, I see there's a nice conditioning already existing in metadata filtering like here.
pipeline.run(
data={"retriever": {
"query": "Why did the revenue increase?",
"filters": { "operator": "AND",
"conditions": [
{"field": "meta.years", "operator": "==", "value": "2019"},
{"field": "meta.companies", "operator": "in", "value": ["BMW"]},
]
}
}
}
)
But, how do I retrieve if meta.companies field containg multiple values and i want to search among them which rows containing BMW?
for example, meta.companies in my data is a list
[bmw]
[mercedes, audi]
[bmw, volkswagen]
how to make sure, it retrieves 1st and 3rd row?
Beta Was this translation helpful? Give feedback.
All reactions