Syntax
Properties
string
Free text that provides context to the Omni Agent. Can include behavioral prompting, instructions for tone, or other guidance to .The following references are supported for this field:
-
User attributes, referenced with
{{omni_attributes.<attribute_name>}}. This allows you to personalize the context for each user. -
Model
constants, referenced using@{constant_name}syntax. This allows you to maintain reusable instruction blocks such as tone, privacy guidance, and domain context instead of duplicating them. -
omni_llmnamespace, which allows you to tailor context to specific AI model tiers:{{ omni_llm.model }}— Substitutes the active model’s family name, which will be one of:smartest,standard, orfastest{{# omni_llm.<family> }}...{{/ omni_llm.<family> }}— Conditional sections for specific model tiers.<family>must be one ofsmartest,standard, orfastest{{^ omni_llm.<family> }}...{{/ omni_llm.<family> }}— Inverse sections, which apply when the specified tier is not used.<family>must be one ofsmartest,standard, orfastest
-
omni_agentnamespace, which allows you to scope context to specific AI agents:{{ omni_agent.name }}— Substitutes the active agent’s name, which will be one of:analyze,build, orsimple_summarize{{# omni_agent.<agent> }}...{{/ omni_agent.<agent> }}— Conditional sections for specific agents.<agent>must be one ofanalyze,build, orsimple_summarize{{^ omni_agent.<agent> }}...{{/ omni_agent.<agent> }}— Inverse sections, which apply when the specified agent is not used.<agent>must be one ofanalyze,build, orsimple_summarize
Examples
Personalized context using user attributes
Personalized context using user attributes
Model-specific query preferences
The following context will apply when the model tier issmartest.
Applies when the model tier is smartest
smartest.
Applies when the model tier is not smartest
Agent-specific context
The following context provides different guidance to different agents based on view-level concerns.Agent-specific view guidance
Using constant references
Referenceconstants to combine reusable context blocks with view-specific guidance:
View file with constant references
constant references will be substituted with the values defined in the model file.
Behavioral prompting
Behavioral prompting
Structured query
Structured query

