KPIs, rules and glossary
Knowledge teaches the AI how you measure and how you talk in your operation.
Add knowledge
- In Ontology, create New knowledge (or Define a KPI if the brain is empty).
- Pick the Type: KPI, Rule, Glossary or Note.
- Write the Title (up to 120 characters) and the Content (up to 4,000).
- Under Applies to, use Link to… to tie it to what it explains: a table, query, dashboard, element, variable, entity or role (up to 30). With no links, it Applies to the whole workspace. If you link a role, it only applies to people with that role.
- Leave Active (the AI uses it) ticked and click Create.
Define a KPI
In a KPI, How it is computed sets the official formula:
- Choose the table… (for now KPIs are computed on tables only).
- The aggregation (count, count distinct, sum, average, min or max) and the Column….
- Optional filters (Add filter, up to 10). Values accept
todayortoday-7in the workspace time zone. - For a percentage, Make it a percentage (divide by another measure): numerator and denominator on the same table.
- The format (number, integer, currency or percentage) and the Decimals.
The AI uses the definition when someone asks about that KPI, instead of making up its own calculation.
User node
A User node (one per workspace) ties user attributes to your entities. For example: "the user's region is Customer.region". So when someone asks about "my customers", the AI filters by their region.
Examples
| Type | Title | Content |
|---|---|---|
| Glossary | DVR | Empty container return to the depot. |
| Rule | Cancelled orders don't count | Shipments with status Cancelled don't count in any total. |
| Note | Dispatch windows | Regional dispatches leave on Tuesdays and Thursdays. |