Switchboard Docs
Context layer

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

PartPurpose
Data definitionsDefine fields, metrics, and relationships that analysis can reuse.
Model guidanceExplain when to use data, how to interpret it, and which assumptions or exceptions apply.
Business knowledgeRecord how the business operates, its terminology, conventions, and relevant events.
ProceduresDescribe how to carry out repeatable work, including inputs, methods, and expected outputs.

How context is used

Business knowledge, definitions, and procedures
People consult, maintain, and review all forms of context.
Data definitions
Fields, metrics, and relationships
used by
AnalysisAppsSwitchboard AI
Model guidanceMeaning, assumptions, exceptions
Business knowledgeSaved facts and conventions
ProceduresSkills with inputs, methods, and outputs
guides
Switchboard AI
Interpret questions and follow instructions
Saving written guidance updates context. It does not change SQL, model definitions, or stored rows.

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.

On this page