Context
Where: Context
Who can use it: Admins, Owners, and Users. Viewers don't see the page.
The Context page shows the semantic model Tursio builds from your data. Tursio infers the model when it trains on a database, so you don't build it by hand. You review and correct it here, without prompt engineering, so questions map to the right tables, columns, measures, and joins.
What Tursio infers
When a database trains, Tursio captures these semantic properties:
- Name simplification
- Relationship detection
- Ontologies (time series, metric names and values, and so on)
- Dimensions and measures
- Data and value types
- Value aspects (numbers, currencies, and so on)
- Valid aggregations
- Default measures
- Aliases
- PIIs
Tursio uses this model to interpret natural-language questions and pick the tables, columns, measures, and joins for the SQL it writes.
Open the Context page
- Open Context in the left navigation.
- Pick a database in the database selector at the top of the page. The page opens on Visualization.
- Switch tabs to see the model in another form.
The tabs depend on what you pick in the database selector.
One database
| Tab | What it shows | Details |
|---|---|---|
| Visualization | A graph of the query tables, with their dimensions and measures, and the joins between them. Edit a dimension, measure, or join from the graph. | Visualization |
| Tabular | A menu with four tables: Dimensions, Simple Measure, Custom Measure, and Join Relationships. | Tabular |
| MCP | The context that MCP clients receive for this database, and the MCP configuration download. | MCP |
All Databases
| Tab | What it shows | Details |
|---|---|---|
| Visualization | A graph of all your databases and the links between them. | Cross-Dataset Links |
| Cross-Dataset Links | The links Tursio uses to answer questions that span databases. Add, edit, or reject them here. | Cross-Dataset Links |
| MCP | A read-only view of the context across all databases. | MCP |
The Tabular menu isn't available for All Databases.
Tips and limits
- Changes you make on the Context page apply to the database selected at the top of the page.
- Join Relationships is disabled for Cassandra databases.
- If Tursio detects schema changes in a database, the page shows a banner asking you to re-run training. See Training.
- If you can't see the Context page, ask an Admin or Owner to change your role in All Users.
- To guide how Tursio picks and uses columns, add business rules such as Enforce, Priority, Hierarchy, and Simplify to a column's description. See Tune context.
- To export a database's context, import a tuned context, or bring custom measures in from Power BI, see Tune context.