Find answers from the community

Updated 11 months ago

Hey, when we use autoretrieval method

Hey, when we use autoretrieval method and it does the filtering based on the metadata provided, how does it work when metadata is a list? eg. metadata is a list of categories -- cat: ["entertainmant", "sports"]
How does the matching happen and is there a specific way to ddefine this in the metadatainfo?
For that matter, apart from str, if metadata is in any other data format (list, dict, list of tuples etc.) , how does the matching happen?
L
n
3 comments
A lot of vector dbs refuse to support certain metadata data types (dicst, lists, etc) for this exact reason
I think chroma and pinecone support lists, filtering is done using x is in y type of filtering
Hey, can I ask how you solved this problem?:) I now struggle with the same thing, where I'm trying to perform autoretrieval across metadata, that is made of several values. Vector databases doesn't support neither storing metadata as list, nor filter "contains", if I convert this list to a string
Add a reply
Sign up and join the conversation on Discord