Skip to main content
This setting is particularly useful when:
  • You have many ad-hoc tables that don’t fit neatly into topic-based organization
  • Users need to explore data without the overhead of creating and maintaining topics for every table
  • You want to provide flexible AI-powered querying across your entire data model
For curated, self-service analytics, we recommend organizing your views into topics and keeping this setting disabled. Topics provide better structure, improved performance, and a more guided experience for users.

Syntax

ai_settings:
  query_all_views_and_fields: <true | false>

Parameters

query_all_views_and_fields
boolean
default:"false"
When enabled, the AI Assistant and Query helper can generate queries on any view in the model, not just views that are organized within topics. This is useful when you have ad-hoc tables that users want to query without creating a dedicated topic for each one.When this setting is enabled (true):
  • The AI can use any view in the model as a starting point for queries
  • The AI can discover and join other views that are related to the selected view
  • Users don’t need to specify a topic when asking the AI to generate queries

Examples

Enable querying all views
ai_settings:
  query_all_views_and_fields: true
Restrict AI to topic views only (default behavior)
ai_settings:
  query_all_views_and_fields: false