Skip to content

Commit 408dc26

Browse files
Clarify certified queries are example library for agents (cube-js#10741)
Generated-By: mintlify-agent Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent 2569028 commit 408dc26

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

docs-mintlify/admin/ai/spaces-agents-models.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Cube is an agentic analytics platform that combines AI agents with semantic data
2222

2323
- **Agent Rules**: Instructions that guide how agents behave
2424
- **Memories**: Shared knowledge and past interactions
25-
- **Certified Queries**: Pre-approved, trusted queries
25+
- **Certified Queries**: Pre-approved, trusted queries provided as an example library the agent can reference, adapt, or extend (agents aren't restricted to using only certified queries)
2626
- **Context**: Business logic and domain expertise
2727

2828
#### Example Use Cases:

docs-mintlify/admin/ai/yaml-config.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,17 @@ rules:
503503

504504
## Certified Queries
505505

506-
Certified queries are pre-approved SQL queries that agents can use for specific user requests.
506+
Certified queries are pre-approved SQL queries that serve as an **example library** provided to the agent. The agent treats them as reference examples rather than a strict set of queries it must use.
507+
508+
<Note>
509+
The agent is not limited to only running certified queries. When answering a user request, the agent may:
510+
511+
- Use a certified query directly if it matches the request
512+
- Use a certified query as a **starting point** and adapt it (for example, adding filters, dimensions, or measures) to fit the user's question
513+
- Generate a new query independently if no certified query is relevant
514+
515+
Certified queries help guide the agent toward trusted patterns and correct business logic, but the agent retains full flexibility to construct the query that best answers the user's question.
516+
</Note>
507517

508518
```yaml
509519
certified_queries:

0 commit comments

Comments
 (0)