Context layer overview
Connect business knowledge, data definitions, and reusable procedures
The context layer combines data definitions, business knowledge, and reusable procedures. People and AI use this context to interpret data and guide their work.
What context contains
| Part | Purpose |
|---|---|
| Data definitions | Define fields, metrics, and relationships that analysis can reuse. |
| Model guidance | Explain when to use data, how to interpret it, and which assumptions or exceptions apply. |
| Business knowledge | Record how the business operates, its terminology, conventions, and relevant events. |
| Procedures | Describe how to carry out repeatable work, including inputs, methods, and expected outputs. |
How context is used
People use shared model definitions in explores and documents. Switchboard AI reads model context to help select the right data and follow the business's interpretation rules. Skills provide instructions for repeatable work. Memory makes saved business facts available in later conversations.
SQL and aggregations determine calculated values. Saving model context changes guidance without starting a build.
Maintain the context
Properties, aggregations, and relationships define the data available for analysis. Field groups organize those definitions for readers. Model context provides guidance tied to a model, property, aggregation, or relationship.
Memory holds saved business facts and conventions. Skills contain procedures with defined inputs and output rules. When a business rule changes, review the model definitions, written guidance, and skills that use it.
Validate calculations in an explore against known rows. To test written guidance, ask AI a question that depends on it, then inspect the data and rules it uses.
For creating tables and refreshing their data, use Data engineering.