Skip to main content
Controls whether the Omni Agent and Workbook Agent can generate CTEs (common table expressions) in their queries. This setting only applies to AI-generated queries. Hand-written SQL is not affected by this setting.
Disabling CTEs is not recommended. Omni’s AI evals are not run in this mode, and CTEs are still governed by your model - they build on top of it, not around it. Turning off CTEs limits what the AI can generate, and Omni will not address reports of the AI failing to produce certain queries as a result.

Syntax

Properties

ai_settings
object
An object that contains various AI settings. See ai_settings for more information.

Examples

ai_settings: allow_ctes: not_for_restricted_queriers
ai_settings: allow_custom_fields: not_for_restricted_queriers allow_ctes: not_for_restricted_queriers