Replies: 1 comment 2 replies
-
|
What library are you using? Faiss does not provide these interfaces. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I am trying to filter the vector search results via the filter flag.
Documentation States that we can do filtering through a single key value pair - as seen below.
results = vector_store.similarity_search(query="thud",k=1,filter={"bar": "baz"})
Is it possible to filter through a nested dictionary within the metadata?
Example Vector:
..."doc_name":xyz , tags = {"color":"blue", "shape":"circle"} ...
Filter Search:
results = vector_store.similarity_search(query="thud",k=1,filter={tags = {"color":"blue", "shape":"circle"}})
Thanks
Beta Was this translation helpful? Give feedback.
All reactions