What you can filter on
Every enriched chunk carries metadata. Common filterable fields:- Tags — any tag added by the Auto-tag enricher.
- Source — which document, folder, or database row.
- Path — heading path or folder location.
- Language — the chunk’s detected language.
- Entities — extracted people, orgs, products.
- Modified date — when the source was last updated.
- Custom fields — anything an inline enricher wrote.
Filter expressions
Filters are expressed as JSON-ish predicates. Examples:$eq, $ne, $in, $nin, $gt, $gte, $lt, $lte, $contains, $startsWith, $exists, $and, $or, $not.
Filters at three levels
Filters compose across levels. Anything set at a higher level applies to all lower ones.- Data source level — attached to a document collection. Applies to every query against it.
- Preset level — inside a Retrieval preset. Applies to every Agent using the preset.
- Query level — set per-call, at runtime. Set by the Agent via a special tool argument, or by your code.