{"version":3,"file":"defaultRuleProcessorChroma.mjs","names":[],"sources":["../../../src/utils/formatQuery/defaultRuleProcessorChroma.ts"],"sourcesContent":["import type { RuleProcessor } from '../../types';\nimport { mongoLikeRuleProcessor } from './mongoLikeVectorRuleProcessor';\n\n/**\n * Default rule processor used by {@link formatQuery} for \"chroma\" format. Returns a Chroma\n * `where` filter object, or `false` if the rule can't be expressed (see\n * {@link formatCapabilities}).\n *\n * - One operator per field object (`between` → `$and` of `$gte`/`$lte`).\n * - Range operators coerce values to numbers; non-numeric values are skipped. Store dates\n *   as epoch ms numbers.\n * - `in`/`notIn` members must share a type (string, int, float, or boolean); mixed lists\n *   are skipped.\n * - `null`/`notNull` (no `$exists`), string operators (`where_document` is out of scope),\n *   `valueSource: \"field\"`, and match modes are skipped.\n *\n * @see https://docs.trychroma.com/docs/querying-collections/metadata-filtering\n *\n * @group Export\n */\nexport const defaultRuleProcessorChroma: RuleProcessor = (rule, options) =>\n  mongoLikeRuleProcessor('chroma', rule, options);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAoBA,MAAa,8BAA6C,MAAM,YAC9D,uBAAuB,UAAU,MAAM,OAAO"}