Loading the documentation…

Model Builder

The Model Builder builds a semantic model from one approved design. You meet it in a chat with the Warehouse Builder: it proposes the design, works through it in rounds, reports each round back as a card, and calls on you when it needs a decision. To read each card it shows, see Model Builder cards. For the whole flow around the chat, from the request to the working model, see Design and hand over a semantic model.

Start a build

  1. Open a chat with the Warehouse Builder Mind.
  2. Type /star-schema in the message box. The command reads "Use the Star schema skill: design and build a semantic model", and it joins your message as a Star schema pill.
  3. Send the message. The build loads the skill, and the transcript shows a chip reading Using: Star schema v1, with the tooltip "A DataMind playbook shipped with this platform version".
  4. Answer the questions the builder asks in the chat, then review the design it proposes.

Approve the design

The design arrives as a card headed Semantic model design. It lays out the fact and the dimensions it will build, the objects the model will read, and the choices to make: the owner role, the data mode (Tokenized (recommended) or Clear values), and the history depth. For every section of the card and how to set the choices, see The semantic model design card.

  1. Set the choices while the card waits for your decision.
  2. Approve with the button built from your choices, for example Approve · owner role · data mode · history option. To send the design back instead, choose Reject with a note.
  3. Once you decide, the card locks. The build records the decision as: Design approved (session <id>): owner role <role>, data mode <mode>, history "<option>".

Follow the rounds

Answer questions and decide

Grant access to the objects

Before the model is created, the build checks that its owner role can read every object the model needs. When something is missing for a business role, the chat shows a card titled Grant role access.

  1. Choose Open permissions on an object that is not granted, add the role under Permission Groups in the Warehouse popup, and save it.
  2. Choose I've granted them, check again. It sends "I granted the access. Check again." into the chat and runs the check again. The card counts the progress as "n of m granted", and each object reads Granted, Not granted, Columns missing, Not deployed or Not found.
  3. Repeat until everything is granted. The admin role reaches every object, so its card finishes straight away.

For each state and the warnings a grant can carry, see Access checks and Model AI handoff.

The created model

Note

The model is created empty. Its contents arrive in rounds, built through the model's Model AI from the build brief. The model itself is described in Semantic models and BI tables.

Stop, continue or start again

The session card's footer holds the actions.

A notice confirms each action: Model Builder stopped, Model Builder sessions reset or Answer recorded. A failed action reads Stop failed, Continue failed or Start again failed.

When the build ends

The full history load

A design can ask for the full history of its fact tables.

Limits

WhatLimit
Rounds per session8, plus 2 more once with Continue with 2 more rounds (10 at most)
Session time12 hours
Token budget30 million tokens
Sessions per model2, and Start again resets the count

One build works on a model at a time. While a session is open, another one is refused with "A Model Builder is still working on this model."

Who can see and act

Questions, answered

How is the Model Builder different from Model AI?

Model AI is the assistant panel where you ask for changes on a semantic model. The Model Builder is a build that runs by itself: it works from an approved design, in rounds, and reports back into your Warehouse Builder chat. You follow and steer it from the session card without opening the model. See Model AI.

Does approving the design build the model straight away?

No. Approval starts a build that works in rounds. The model is created empty in the requester's personal workspace, and the model's Model AI builds it from the build brief. The done card tells you when the build is finished.

How many rounds does the Model Builder get?

Eight rounds per session. When it uses them all, the person who started the build can add two more with Continue with 2 more rounds, once per session. A session also ends at its 12-hour limit or when it uses its 30 million token budget.

What is the difference between Continue and Start again?

Continue with 2 more rounds adds two rounds to the same session, when it stopped at its round limit, and works once per session. Start again begins a fresh session for the same design, and is for the person who started the build once the current session has ended.

What happens to the model if I stop the build?

Nothing is rolled back. The Model Builder stops working on this model and anything it made stays, and you can start it again.

Who can decide the changes the build asks for?

The person who started the build. When someone else tries to decide, the message reads: "Only name, who started this Model Builder, can decide its changes." Others can still read the session.

Can I answer the build's questions if I did not start it?

Yes, if you can write in the chat. Questions are answered in Needs you by anyone who can write there; the hint reads Someone who can write in this chat answers this question. The extra rounds and Start again stay with the person who started the build.

The build asked me about a table that existed before the design. What do the options mean?

I will make it in the Warehouse Builder chat keeps the change in your hands: the build skips it and you do it yourself. Continue without it lets the build carry on without that change, and Answer in your own words lets you reply in text. The build changes only the tables the design created or changed, so it asks before touching anything older.

Can I run a second build on the same model?

No. One build works on a model at a time. While a session is open, another one is refused with "A Model Builder is still working on this model."

Can I follow the build from the model instead of the chat?

Yes. While the build runs, the model's Model AI panel shows a banner above the chat, for example Model Builder is working · round n of m · started by name, with Stop where you can stop it. See Model AI.

Does the full history load by itself?

It runs once per design, one table at a time, and the card shows its progress. When every load has finished, the Model Builder is woken, checks each table's health and continues. A second full load needs a new design card.

Why can't I read a round's report?

Parts of a round's output come from the model's Model AI chat. If you cannot use that model's Model AI, they appear as stubs: "Only people who can use this model's Model AI can read it." You can still follow the session's states and decisions.