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]: Enhanced String Filtering in Metadata #3416

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

[Feature Request]: Enhanced String Filtering in Metadata #3416

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 significantly improve the string filtering capabilities within Chroma's metadata. Currently, string filtering is limited to basic equality checks, which is insufficient for many real-world use cases that require partial matches, pattern matching, and more sophisticated string comparisons.

Additional operators users have asked for include:

  • $contains (or equivalent): To check if a string metadata field contains a specific substring.
  • $not_contains (or equivalent): To check if a string metadata field does not contain a specific substring.
  • $like (or equivalent): To support SQL-LIKE pattern matching using wildcards (e.g., % for zero or more characters, _ for a single character).
  • $regex (or equivalent): To enable filtering based on regular expressions for advanced pattern matching.

Related user issues:

Describe the proposed solution

To discuss

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

@itaismith itaismith added by-chroma enhancement New feature or request labels Jan 6, 2025
@itaismith itaismith marked this as a duplicate of #2036 Jan 6, 2025
@itaismith itaismith marked this as a duplicate of #1940 Jan 6, 2025
@itaismith itaismith marked this as a duplicate of #1040 Jan 6, 2025
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