Curates the fields in the topic that are provided to Omni’s AI. If defined, only the specified fields will be added to the context window. Refer to the Optimizing models for AI guide for more information on best practices.
This parameter changes what the AI is aware of, not what it has access to. All queries are run with the same permissions as the user and it’s possible for the AI to make assumptions about schemas given enough context.
Syntax
ai_fields: [ "<field_selector>", ... ]
Properties
An array of field selectors that determine which fields are provided to the AI query helper’s context window.Supports the following operators:
- Wildcards (
*)
- Exclusions (
-)
- Tag-based selection (
tag:)
Examples
ai_fields: [ all_views.*, -tag:dont_use_for_AI, -distribution_centers.* ]