Skip to main content
Use this parameter to:
  • Expand query scope — Let the AI query any view in the model - not just topics - for more unconstrained analysis
  • Enable analysis validation — Have the AI automatically check its work for errors before returning results
  • Manage conversation context — Control how aggressively Claude prunes conversation history to balance cost optimization with context preservation
  • Tune model and thinking levelsSupported for Claude models only. Control the tradeoff between speed and accuracy for different task types (analysis, model building, summarization)
For curated, self-service analytics, we recommend organizing your views into topics and keeping query_all_views_and_fields disabled. Topics provide better structure, improved performance, and a more guided experience for users.

Syntax

ai_settings:
  query_all_views_and_fields: <enabled | disabled | default>
  validate_analysis: <enabled | disabled | default>
  conversation_prune_length: <short | medium | max | long>
  analyze_configuration:
    model: <smartest | standard | fastest | opus | sonnet | haiku>
    thinking: <none | low | medium | high>
  build_configuration:
    model: <smartest | standard | fastest | opus | sonnet | haiku>
    thinking: <none | low | medium | high>
  simple_summarize_configuration:
    model: <smartest | standard | fastest | opus | sonnet | haiku>
    thinking: <none | low | medium | high>

Properties

ai_settings
object
An object that contains various AI settings.

Examples

Enable querying all views
ai_settings:
  query_all_views_and_fields: enabled
Restrict AI to topic views only
ai_settings:
  query_all_views_and_fields: disabled
Enable AI analysis validation
ai_settings:
  validate_analysis: enabled
Disable AI analysis validation
ai_settings:
  validate_analysis: disabled
Override all model categories (Anthropic-specific)
ai_settings:
  analyze_configuration:
    model: opus
    thinking: medium
  build_configuration:
    thinking: high
  simple_summarize_configuration:
    thinking: low
Override model categories (provider-agnostic)
ai_settings:
  analyze_configuration:
    model: smartest
    thinking: medium
  build_configuration:
    model: standard
    thinking: high
  simple_summarize_configuration:
    model: fastest
    thinking: low
Claude - Optimize for cost with aggressive context pruning
ai_settings:
  conversation_prune_length: short
Claude - Balance cost and context preservation
ai_settings:
  conversation_prune_length: medium
Claude - Preserve maximum context
ai_settings:
  conversation_prune_length: max