Skip to main content
Free text that can provide context to the Omni Agent. Context could include behavioral prompting or example queries and structured Omni results. Refer to the Optimizing models for AI guide for more information on best practices.

Syntax

Or for multiline context:

Properties

string
Free text that provides context to the Omni Agent. Can include behavioral prompting, instructions for tone, or other guidance to improve AI query results.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.

Examples

Personalized context using user attributes

Personalized context using user attributes

Model-specific query preferences

The following context will apply when the model tier is smartest.
Applies when the model tier is smartest
The following context will apply when the model tier is not 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

Reference constants to combine reusable context blocks with view-specific guidance:
View file with constant references
The constant references will be substituted with the values defined in the model file.

Behavioral prompting

Behavioral prompting

Structured query

Structured query