Intelligent predictions
How Sofi classifiers suggest field values from similar records, how their thresholds decide when they fill fields, and how form settings put them on a form.
Intelligent predictions are Sofi’s suggestions for field values on a new record, such as the classification and assignment group of an incident. This page explains classifiers, their thresholds and form settings, for administrators who tune what Sofi suggests and when it fills fields itself.
Classifiers
A classifier reads a text field on a record and suggests values for other fields. The shipped Incident classifier reads Short description and suggests Classification, Assignment group and Service.
Each classifier names:
- the Table it works on, such as Incident
- the Search fields whose text it reads
- the Classification fields it suggests
- optional filters, which narrow the past records it compares with, for example to the caller’s location
A table can have several classifiers. For example, one can suggest how to route a new incident and another its closure code.
Classifiers come in five types: Classification, Knowledge, Catalog, Template and Action. Classification classifiers make predictions. Knowledge, Catalog and Template classifiers power Sofi search, described in Intelligent search. Action classifiers rank intelligent actions, described in Intelligent actions.
Classifiers are under Predictions & routing → Intelligent predictions → Classifiers, in the Administration workspace. You need the sofi_administrator role.
How a prediction is made
Classification runs on the instance’s Elasticsearch global search index. Classifier engine on Sofi settings chooses how.
| Engine | How it predicts |
|---|---|
decision (the default) |
Finds the past records most similar to the new one, by meaning as well as words. It lists the value combinations they hold, then asks a decision model to choose. The confidence is the model’s probability. |
v2 |
Finds past records that share words with the new one and counts how often each value appears. |
legacy |
Sends the text to the external Sofi service, which returns the prediction. |
The decision engine offers only values that are still active and selectable. On a table with a Closed field, it learns only from closed records. By default it reads the 50 most similar records from the last 24 months and compares up to 20 candidates. Similar records, Look-back months and Shortlist size on the classifier change these numbers. The decision model comes with the product through Servicely Intelligence. When no decision model can be reached, Sofi still suggests values from the similar records, but it never fills a field.
Because predictions come from the records already in the index, they improve as agents save records with correct values. Each classifier’s table needs an active global search configuration. The shipped tables have one. For a new table, see Create a classifier.
Thresholds
Each classifier holds its own thresholds, in two groups.
| Group | Field | Effect |
|---|---|---|
| Form suggestions | Minimum confidence | Suggestions below this confidence, from 0 to 100, are not shown. |
| Form suggestions | Auto-fill | When on, Sofi fills in the best suggestion when it reaches the threshold. |
| Form suggestions | Auto-fill threshold | The confidence a suggestion needs before Sofi fills it in. |
| Inbound email | Email minimum confidence | Predictions below this confidence are ignored for records created from email. |
| Inbound email | Email auto-apply | When on, Sofi applies the best prediction to records created from email. |
| Inbound email | Email auto-apply threshold | The confidence a prediction needs before Sofi applies it. |
So a form can suggest values that the agent accepts, while email-created records are filled in when Sofi is confident. The shipped Incident classifier fills fields at 70 and hides suggestions under 10.
Form settings
A form setting puts a classifier on a table’s form. It names the Table, the Classifier, the Trigger Field whose text Sofi reads and the Journal Field where Sofi notes what it found. An Aspect limits it to one view of the form, and a Condition to some records. A knowledge form setting also says how an attached article reaches the requester.
Form settings are under Predictions & routing → Intelligent predictions → Form settings. The shipped tables, such as Incident, Change and HR case, each have form settings for classification, knowledge and actions. To add predictions to another table, see Show Sofi suggestions on a form.
Where predictions appear
On a form, suggestions appear in the Sofi Smart Classification tab of the Sofi panel, and the agent can apply them. Sofi runs the classifier when the form loads and as the agent types in the trigger field.
Training
The classifier form has a Train button and shows a Training status, Training start and Training end. Under the decision and v2 engines, Train rebuilds the search index for the classifier’s table. It fails if the table has no active search configuration. Under the legacy engine, it exports every record of the table to the external Sofi service.