Level 2: AI layer

8 parts

AI layer

Eight short articles on getting AI tools to answer from governed definitions: meaning first, then grain and joins, metric contracts, a catalog, routing, tools, evals and token mechanics.

Updated November 2026Example data, not from a client.
On this page
  1. The eight parts
  2. The diagrams
  3. How to read it

The seven guides in Level 1: Model the data showed how a model can let the wrong number through without an error. This one is about the next step: getting an AI tool to answer from definitions you own, and to say so when it can't.

Every part uses the same small example as the guides: one customer, one product, three revenue entries and two contract terms with term_start and term_end. Every SQL result shown was run on that example. Example data, not from a client.

The eight parts

The diagrams

Each part has one or two diagrams. You can also see them all on one page.

How to read it

In order, if you can. Parts 1 to 3 are about the model: meaning, grain and contracts. Parts 4 to 6 are about what a tool sees and can do. Parts 7 and 8 are about proving the answers and understanding the token mechanics.

About to put AI on a Power BI model?

I review one model, fixed scope, and tell you what to fix first.

See the model review

Privacy

Related