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 Intelligent automation → Intelligent predictions → Classifiers and select New.

The shipped Incident classifier, with its search fields, classification fields and two classifier contexts. -
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. -
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. Leave Data analytic fields empty.
-
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");Records of the table are indexed by the next search synchronisation.
-
Under Classifier contexts on the classifier, select Add/remove and add a context. Choose the Context, select Auto classify if Sofi should fill fields itself, and set the Auto classify threshold and Minimum confidence.
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 records in the search index. Where a context has Auto classify on, Sofi fills a field when the confidence reaches the threshold. Suggestions below the minimum confidence are not shown.