KPIs, rules and glossary

2 min read

Knowledge teaches the AI how you measure and how you talk in your operation.

Add knowledge

  1. In Ontology, create New knowledge (or Define a KPI if the brain is empty).
  2. Pick the Type: KPI, Rule, Glossary or Note.
  3. Write the Title (up to 120 characters) and the Content (up to 4,000).
  4. 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.
  5. Leave Active (the AI uses it) ticked and click Create.

Define a KPI

In a KPI, How it is computed sets the official formula:

  1. Choose the table… (for now KPIs are computed on tables only).
  2. The aggregation (count, count distinct, sum, average, min or max) and the Column….
  3. Optional filters (Add filter, up to 10). Values accept today or today-7 in the workspace time zone.
  4. For a percentage, Make it a percentage (divide by another measure): numerator and denominator on the same table.
  5. 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.