Training
Where: Settings › Run training (page header)
Who can use it: Admins and Owners
Training builds the semantic model Tursio uses to answer questions on a database connection. It turns your query tables into dimensions, measures, and joins, so answers use your business terms. Each connection is trained on its own, and you can then combine trained connections with global training.
When to train
Train a connection after you add it and its query tables. Retrain it when its training status is Stale. A connection becomes Stale when you:
- edit the connection;
- add, edit, or delete query tables, or change their access rules;
- import tuned context;
- change the semantic model on the Context page, such as dimensions, measures, custom measures, or joins, or sync from Power BI.
Tursio then shows a banner on the Settings page: Changes detected in
(1) Retrain banner, (2) Stale status, (3) Run training.
A stale connection still answers questions with its last trained model until you retrain.
Run training
- Select Run training in the Settings page header. The Train database dialog opens.
- Pick the Database to train.
- Pick a Training mode: Incremental or Start over. See Incremental or start over.
- Keep Enable join inference on, or turn it off for this run. See Join inference.
- Optionally, upload query history: a CSV of queries your team already runs, up to 5 MB.
- Select Run training. Tursio shows Training is in progress for this connection and the status changes to In Progress.
(1) Database, (2) Training mode, (3) Enable join inference, (4) Run training.
Auto generate counts for ID columns and Exclude PII columns are always on.
If you pick a trained main connection, Tursio first warns Training on main may disrupt usage and suggests a dev connection. See Dev connections.
Incremental or start over
- Incremental keeps the work from earlier runs. Aliases, table descriptions, custom measures, dimension and measure feedback, and accepted joins are not overwritten. Use it for routine retrains.
- Start over rebuilds the model from scratch. Aliases, table descriptions, custom measures, feedback, and joins are cleared and generated again. Use it when you want to drop earlier tuning.
Start over discards tuning
Start over removes the aliases, custom measures, feedback, and joins you added on the Context page. Export the context first if you may want it back. See Export context.
Join inference
Enable join inference lets training find relationships between tables on its own. It is on by default and turns back on each time you open the dialog.
- On: inferred joins appear on the Context page as Pending, for you to accept or reject.
- Off: training adds no new inferred joins. Joins you already have stay as they are.
Where the database exposes referential constraints, Tursio also turns them into LEFT JOINs in an Accepted state. This works for PostgreSQL, SQL Server, Azure SQL, Snowflake, Oracle, and Azure Databricks. Composite keys become multi-column join conditions.
Training status
The Training status column shows where each connection stands:
- In Progress: training is running. Training typically takes 15–20 minutes.
- Success: the connection is trained and ready to query.
- Stale: the connection changed since it was last trained.
- Failed: the last run didn't finish. You can run training again.
(1) Training started, (2) In Progress status.
While a connection trains:
- you can't query it, and it isn't in the dataset dropdown;
- you can't start training or testing on it again.
Keep Auto refresh on to see the status change. When training finishes, the Last trained time updates and the dataset is available in the dataset dropdown.
Global training
Global training combines your trained connections into one catalog. The catalog powers a multi-dataset MCP server, so one AI assistant can query across all of those databases.
- Select Run training in the Settings page header.
- Pick All databases in Database. The dialog lists each connection as up to date or needing training.
- Train any connection that needs it first. Run training stays disabled until every connection is up to date.
- Select Run training.
(1) All databases, (2) connections that are up to date, (3) Run training.
Global training runs in the background. Tursio shows Global training is in progress. and you can keep working.
(1) Global training started, (2) Tail Logs.
Tursio records each training, global training, and testing run in the audit log with who started it and the result. To see it live, open ⋮ › Tail Logs in the page header. See Testing & logs.
Requirements
Global training needs an active MCP license key for your organization. Dev connections are left out. Cassandra and DynamoDB connections can't join the catalog. Only one global training run can be in progress at a time.
Tips and limits
- Add query tables before you train. Otherwise the dialog says Please add query tables before training this database.
- You can't train a connection while it is being tested, or test it while it trains.
- A connection whose training succeeded can't be retrained until something changes. The dialog says Training has already completed for this database.
- Cassandra connections can't be trained.
- Use a dev connection to retrain and test without changing live answers.
- Train each connection on its own before global training, so database-specific knowledge stays current.
- When an onboarded table or column no longer exists, a banner lists what is missing. See Schema change detection.
- To run saved queries as a regression test after training, see Run Testing.