Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Support lists in metadata #3415

Open
itaismith opened this issue Jan 6, 2025 · 0 comments
Open

[Feature Request]: Support lists in metadata #3415

itaismith opened this issue Jan 6, 2025 · 0 comments
Labels
by-chroma enhancement New feature or request

Comments

@itaismith
Copy link
Contributor

Describe the problem

This issue tracks the feature request to add support for storing and querying lists as values within Chroma's metadata fields. Currently, metadata fields are limited to single values (strings, integers, floats, booleans). This limitation hinders use cases that require associating multiple values with a single metadata key, such as tags, categories, or other multi-value attributes.

Related user issues:

Describe the proposed solution

  • Allow storing lists of primitive data types (strings, numbers, booleans) as values in metadata fields during document insertion or updates.
  • Provide query operators to efficiently filter documents based on list contents. This includes, at a minimum:
    • $contains (or similar): To check if a list field contains a specific value.
    • $in (or similar): To check if a list field contains any value from a given set.
    • Potentially other operators like $all (contains all values), $size (matches list size), etc., based on community needs and feasibility.

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
by-chroma enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant