Model Vibe and Insights
Author a model with Model Vibe. Ask questions on published metrics with Insights.
Updated
datahashi has two conversational AI products. Model Vibe authors models in Studio. Insights answers business questions on published models.
Both agents use structured tools. A human stays in the loop. AI never writes SQL to your warehouse. AI never approves a model. AI never publishes a model.
flowchart TD
subgraph MV["Model Vibe (authoring) · conversation model_create"]
direction TB
M1["Introspects table schema<br/>Drafts entity and metric YAML<br/>Generates reviewable Proposals (diffs)"]
end
subgraph IN["Insights (analytics) · conversation insights"]
direction TB
I1["Discovers the catalog<br/>Runs governed queries<br/>Suggests charts, explains trends"]
end
M1 --> A["Human editor approval<br/>review the diff, then publish"]
I1 --> V["Verified figures only<br/>no invented SQL"]
The two products have different jobs:
- Model Vibe helps you design and edit YAML before publish.
- Insights helps you query and chart published metrics.
Model Vibe
Model Vibe sits in Studio next to the YAML editor.
How Model Vibe works
- Read the schema. Vibe calls Query Runner
POST /v1/schema. It reads tables, primary keys, and foreign keys. - Design in conversation. You ask in plain English. Example: “Create metrics for gross margin and monthly active subscribers.”
- Emit a Proposal. Vibe does not overwrite your draft. It emits a typed
Proposalwith file diffs. - Review and apply. An editor inspects the diff and clicks Approve. The changes merge into the draft.
- Publish. An authorized editor publishes the draft to the engine.
Safety constraints
- AI cannot approve proposals.
- AI cannot publish models.
- Proposal changes run through model validation before they merge.
Insights
Insights is a natural-language interface over published data.
How Insights works
- Ground in the catalog. Insights reads the caller’s granted metrics and dimensions. It sees default time dimensions and entity relationships.
- Emit a Semantic Query. Insights does not write raw SQL. It compiles the question into
metrics,dimensions, andfilters. - Run and combine. For cohorts or multi-step questions, Insights runs several governed queries. It then explains the difference.
- Return structured blocks:
text: Narrative around the numbers.stat: Key metric highlights.query_result: Table with suggested charts (bar, line, area).callout: Anomalies or extra context.
Why Insights does not invent numbers
Insights sends Semantic Queries to the engine. Every query gets:
- Fan-out-safe compiler joins.
- Server-side data roles and row-level security.
- DuckDB rollup acceleration.
- An immutable audit log on Query Runner.