Create a classifier
Create a Sofi classifier that suggests field values for a table, index its records and set when it fills fields automatically.
Create a classifier when you want Sofi to suggest field values on a table that no shipped classifier covers, or to predict other fields. This page is for Sofi administrators.
Before you begin
- You need the
sofi_administratorrole, and theadministratorrole to run a server script. - The table needs past records with the fields you want to predict filled in correctly. Sofi learns only from those.
- Know the field names, as the table defines them, of the text field to read and the fields to predict.
Steps
-
Go to Predictions & routing → Intelligent predictions → Classifiers and select New.

The Classifiers item in the Predictions & routing menu. 
The shipped Incident classifier, with its search fields, classification fields and training information. -
Enter a unique Name, choose the Table and set Type to Classification. Add a Description.
-
In Search fields, enter the field whose text Sofi reads, for example
ShortDescription. Separate several fields with commas. -
In Classification fields, enter the fields Sofi suggests, separated by commas, for example
Classification,AssignmentGroup,Service. -
Under Form suggestions, set Minimum confidence. Select Auto-fill if Sofi should fill fields itself, and set the Auto-fill threshold.

The Form suggestions and Inbound email thresholds of the Incident classifier. -
Under Inbound email, set the same values for records created from email: Email minimum confidence, Email auto-apply and Email auto-apply threshold.
-
To narrow the past records Sofi compares with, select Advanced. On the Filtering tab, set Filter fields to the field on past records that holds the filter value. Set Filter source fields to the field on the new record that supplies it.
-
Select Active and save.
-
Create the search configuration for the classifier’s table. Run this server script, with your classifier’s name:
Sofi.updateGlobalSearchConfigurationForClassifier("My classifier");Shipped tables already have one. Without it, Train fails.
-
Select Train on the classifier. It rebuilds the table’s search index.
To show the suggestions on the table’s form, also show Sofi suggestions on a form.
Result
The classifier suggests values for its classification fields from similar records in the search index. With Auto-fill on, Sofi fills a field when the confidence reaches the threshold. Suggestions below the minimum confidence are not shown.