Ask Zoë for Data Model Recommendations
Use Zoë to recommend, draft, and save the smallest modeling changes that improve answers.
You don't have to author your data model alone. Zoë can recommend changes directly from chat: new measures, new dimensions, new relationships, calculation logic, view and field documentation, workspace skills, updates to the system prompt, or restructuring something that isn't answering questions well. If you've turned on context editing, Zoë can also make those changes for you and save them to your repository on the current branch.
In a branch chat, Zoë’s questions and model guidance use the branch as pushed to your repository; charts run within that chat use it too. Push local edits before rerunning a question so the updated model is available. Saved artifacts continue to use the production model.
Ask in plain English. Either ask Zoë to draft a snippet for you to paste in Context Manager, or to make the change for you.
When to ask Zoë instead of authoring from scratch
Good questions to bring to Zoë:
"How do I add a measure for X?" — e.g. "How do I add a measure for repeat order rate?" or "How do I define customer lifetime value?"
"How should I write this calculation?" — e.g. "Write me the SQL for days between first and second order" or "How do I compute rolling 30-day revenue?"
"How should these tables be joined?" — e.g. "What's the right relationship between
ordersandshipments?""Why did you pick the wrong field?" — Zoë can often diagnose the cause of the wrong pick and recommend adding a
synonym,zoe_description, or a new measure to prevent it next time. See also Fixing Zoë's Mistakes."What should I add to this view to make it more useful?" — Zoë can look at a view and recommend missing measures, synonyms, or descriptions.
"Which tables should I import for [use case]?" — Zoë can read your warehouse's
information_schemaand suggest a starting set of tables based on the analysis you want to do, including tables you haven't imported yet."What data would I need to recreate this report?" — paste a screenshot of an existing dashboard or report (Power BI, Tableau, Looker, etc.) and Zoë will identify the tables and fields you'd need. Because Zoë can see your full warehouse schema, the answer can include new tables to bring in.
Letting Zoë make the change for you
With Zoë's edits turned on for your workspace, you can ask for changes like "add the measure", "fix the join", "update the system prompt to say...", or "create a skill for our fiscal calendar". For each request, Zoë will:
Read the current state of the relevant files.
Draft the smallest correct edit, such as a new field, an updated
zoe_description, or a new skill.Validate the data model so YAML errors are caught before anything is committed.
Commit and push the change to your repository on the current branch.
Run a sample query against any new or modified measure, dimension, or dimension group, so you can sanity-check the result.
Report back with what changed and suggest you re-ask the original question.
If validation fails, Zoë reads the error, fixes the referenced files, and validates again before saving, so no partial commits land.
The surfaces Zoë can edit:
Data model YAML under
views/,models/,topics/, anddashboards/, pluszenlytic_project.ymlThe workspace system prompt, for shared, always-on rules
Workspace
skills/, includingskills/<skill-name>/SKILL.mdand any supporting files
The same authoring rules apply as for a human editor: flat fields: lists, valid measure patterns, conservative use of searchable: true, and zoe_description rather than description for agent-only guidance. See Context Surfaces for the full decision tree.
If you'd rather get a review without edits, ask Zoë to "audit the model", "recommend changes", or "check whether you have enough context". Zoë inspects the data model and reports findings without saving anything, and commits only when you explicitly ask for the change.
For complex datasets
Don't try to model everything before testing. The fastest way to get a complex or unfamiliar dataset working with Zoë is to build context iteratively:
Import the tables. Ask Zoë which ones to start with if you're not sure. Set
default_dateon time-series views — that one property is the biggest single win for temporal questions.Ask a real business question. Not "explain everything" — something you actually want answered.
When Zoë gets something wrong, ask why. "Why did you pick that field?" or "What context would help you answer this correctly?" You'll get a diagnosis of the specific cause and a recommendation for the smallest fix.
For domain-specific or multi-step logic (fiscal calendar, custom segmentations, complex joins, industry-specific patterns), have Zoë create a Skill instead of stuffing it into individual descriptions.
Repeat. Each round narrows the gap between your data and Zoë's accuracy.
This works far better than building a full semantic model upfront. The complexity ends up encoded exactly where it's needed, not speculatively everywhere.
Example: adding a measure
You ask:
How do I add a measure for repeat purchase rate in the
ordersview?
Zoë might respond with something like:
…along with a note explaining the choice of type: number with a ratio SQL expression (one of the two valid measure patterns — see Measures for the full rule), and a pointer to add synonyms like "retention rate" or "repeat rate" so Zoë picks this measure on future questions.
Example: asking about a relationship
You ask:
How should I join the
orderstable to theshipmentstable?
Zoë will inspect both views and recommend a relationship block for the model file with the right relationship cardinality and sql_on condition, plus a note if the join risks fan-out.
Applying a recommendation yourself
If Zoë's edits are turned off, or you'd rather review the change before it lands, apply the snippet by hand:
Open Context Manager.
Navigate to the file Zoë named (view, model, topic, system prompt, or skill).
Paste the snippet in the right place and save.
If the change is significant, deploy to production when you're ready.
Re-ask your original question to confirm the change works end-to-end.
Turning context editing on or off
Zoë's edits are on by default for workspaces that have access to the feature. You can toggle the behavior per workspace at:
Settings → Chat → Context Editing
When the toggle is on, Zoë can save changes to your data model from chat, subject to the permission rules below.
When the toggle is off, Zoë will still draft snippets when you ask but will not write them to your repository.
Zoë inherits your permissions
When edits are turned on, Zoë's editing permissions match your own. The data model is governed by the same role-based rules whether you edit by hand in Context Manager or ask Zoë to do it from chat:
If you are an Explore, View, or Restricted user (or any role without
data_model_edit), Zoë cannot edit the data model. Instead, you'll get draft recommendations and an explanation that you or a workspace admin needs to apply them.If you are Develop, Develop without Deploy, or Admin, Zoë can edit the data model on the branch you're currently on, as long as that branch isn't the production branch.
Only workspace Admins and users with the Develop role can deploy a development branch to the production branch. Deployment happens in Context Manager, not from chat.
See User Roles for the full role and permission reference.
Editing the production branch directly
You can allow Zoë to save edits on the production branch by turning on the Allow Edit Production toggle at Settings → Git → Allow Edit Production. With the toggle on, Zoë will save changes on the production branch for Admin and Develop users. With it off, Zoë will refuse production edits and ask you to switch to a development branch. The toggle is on by default and uses the same setting that controls manual production edits in Context Manager. See Work with branches safely for more on the toggle.
What Zoë won't do
Even with edits turned on, Zoë holds the line on a few things:
Save changes your role or workspace settings don't allow. If your role lacks
data_model_edit, or you're on the production branch without the right permission and toggle, Zoë will recommend the change and tell you who can apply it instead.Recommend Memories or Topics for new context. Memories are legacy and being retired in favor of Skills. Topics are legacy and kept only for backwards compatibility. Zoë routes new context to view and field properties, skills, or the system prompt instead.
Rewrite a whole file when a small edit will do. Zoë makes the smallest correct change to fix the issue you reported, rather than restructuring on speculation.
Iterate based on what goes wrong
Zoë's edits and recommendations aren't always perfect on the first try. If a change doesn't produce the right answer when you test it, explain what's wrong (for example, "that measure gave the wrong number, the denominator should exclude internal test accounts"). Zoë refines the change, re-validates it, and commits the fix when you ask. This is the same iterative philosophy the whole data model is built on: add context to fix the specific error you observed, rather than trying to anticipate every edge case up front. See Progressive Enrichment for the broader playbook.
Related
Context Manager: where you apply Zoë's recommendations or review the resulting commits
Context Surfaces: when to use
description,zoe_description, synonyms, or the system promptUser Roles: the role and permission reference Zoë inherits from
Fixing Zoë's Mistakes — diagnostic flow when Zoë gives a wrong answer
Measures — valid/invalid aggregation patterns for measure SQL
Last updated
Was this helpful?

