defaultRuleGroupProcessorChroma
constdefaultRuleGroupProcessorChroma:RuleGroupProcessor<Record<string,unknown>>
Defined in: packages/core/src/utils/formatQuery/defaultRuleGroupProcessorChroma.ts:19
Rule group processor used by formatQuery for "chroma" format. Produces a Chroma metadata filter object.
and→$and,or→$or; single-child groups are unwrapped.- No group-level
$not:notgroups are negated via De Morgan push-down (negateRuleGroup). Missing-field semantics may differ from a trueNOT. - Returns
{}if no rules survive; omit thewhereparam in that case (Chroma rejects{}).
See
https://docs.trychroma.com/docs/querying-collections/metadata-filtering
caution
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.