Skip to main content
Free text that provides context to the AI Assistant for all topics in the model. Refer to the Optimizing models for AI guide for more information on best practices.

Syntax

Value is on one line
ai_context: "<value>"
Value can contain linebreaks
ai_context: |
  <value>

Properties

ai_context
string
Free text that provides context to the AI Assistant. Can include behavioral prompting, instructions for tone, or other guidance to standardize AI outputs across the model.You can reference user attributes using ${omni_attributes.<attribute_name>} syntax to personalize the context for each user. Only user attribute references are allowed — field references and filter conditions are not supported.

Examples

Behavioral prompting
ai_context: |
  You are an analyst for an eCommerce retailer called BlobsRUs. After generating a query, always provide a summary of the data both English and Brazilian Portugese.
Personalized context using user attributes
ai_context: |
  You are an analyst for a ${omni_attributes.company_type} company. Focus on metrics relevant to the ${omni_attributes.region} region.