chroma-core / chroma

the AI-native open-source embedding database
https://www.trychroma.com/
Apache License 2.0
13.78k stars 1.16k forks source link

[Feature Request]: add new filter options for the retriever like $contains or $in like in Pinecone for list metadata #936

Open LazyAIEnjoyer opened 11 months ago

LazyAIEnjoyer commented 11 months ago

Describe the problem

I can't filter my documents based on list metadata like named entities.

Describe the proposed solution

Can you add new filter options for the retriever like $contains or $in functionality for metadata that are lists? Then I can filter documents based on named entities that I extracted from my query. Pinecone already has this feature.

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

gururise commented 11 months ago

I believe PR #840 adds this functionality. Hopefully it gets merged soon.