Skip to main content
Controls whether the Omni Agent and Workbook Agent can generate custom fields in their queries. Custom fields are ad-hoc dimensions and measures that users can create in workbooks with their own calculations. This setting only applies to AI-generated queries. Hand-written SQL is not affected by this setting.
Disabling custom fields is strongly discouraged. It exists only for scenarios where only governed, model-based reporting is required.Omni does not run its AI evals in this mode. Additionally, custom fields are still governed by your model - this means that turning them off substantially limits the AI. Omni will not address reports of it failing to generate certain queries as a result.

Syntax

Properties

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

Examples

Disable custom fields for Restricted Queriers
Disable custom fields for all users
Disable custom fields and CTEs for Restricted Queriers
See allow_ctes for more information.