AI Settings
Administrative controls for AI agent behavior across your organization.
Data Access Controls
Allow LLM to See Data
When enabled, the AI can view table samples for improved context and analysis accuracy. When disabled, it relies on metadata only.
Allow File Upload
Permits users to upload spreadsheets (CSV, Excel) and PDFs. The AI incorporates uploaded files into its analysis, and CSV/Excel files can be converted into queryable DuckDB data sources.
User Permissions
Users with appropriate access can review, modify, and execute code (SQL or Python) generated by the AI.
Quality Assurance
LLM Judge
An LLM evaluates query quality across accuracy, efficiency, and adherence to best practices.
Autogenerate Instructions
When enabled, MetricChat suggests saving user clarifications as reusable instructions. Requires admin approval before activation.
Code Validation
Automatically checks generated code for syntax errors, security vulnerabilities, and schema alignment.
Operational Limits
| Setting | Default | Description |
|---|---|---|
| Analysis Steps | 6 | Maximum sequential operations the AI performs per request |
| Code Retry Attempts | 3 | Maximum code generation retries before stopping |
| Top K Schema | Configurable | Number of schema tables included in context |
| Top K Metadata Resources | Configurable | Number of metadata resources included in context |