chroma
chroma copied to clipboard
[Feature Request]: Enhanced String Filtering in Metadata
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:
- #2036
- #1940
- #1040
Describe the proposed solution
To discuss
Alternatives considered
No response
Importance
nice to have
Additional Information
No response