Intelligent search
How Sofi search finds knowledge articles and catalog items for agents and requesters, and which classifiers drive it.
Intelligent search, also called Sofi search, finds knowledge articles and catalog items that match the text of a ticket or a question. This page explains how it works, for administrators who decide what Sofi can search.
Search classifiers
Sofi search is driven by classifiers whose Type is Knowledge, the catalog type or Template. These search classifiers do not predict field values. They match text against records and return the best matches.
| Type | Searches | Shipped classifier |
|---|---|---|
| Knowledge | Knowledge articles | Knowledge, which matches Title, Summary, Metadata and Content |
| Catalog | Catalog items | The catalog classifier, which matches Name, Summary, Description and Metadata |
| Template | Templates | None |
A search classifier’s Search fields are the fields of the target records that are matched. Its Result fields are the fields returned with each match, such as the title and summary shown to the user. You can add more search classifiers, for example for a second knowledge table. See Create a search classifier.
How search runs
Search runs on the instance’s Elasticsearch global search index, like classification. Each search classifier needs a global search configuration for its table so that the records are indexed. Results respect the reader’s access, so a requester sees only articles and items they are allowed to read.
No language model is needed. The search classifiers work as soon as the records are indexed.
Where results appear
| Where | Who | What they see |
|---|---|---|
| Sofi Smart Search tab on a ticket form | Agents | Articles matching the ticket’s short description, as they type. Each has an Attach button. |
| Service Portal search | Requesters | Articles and catalog items matching their search. |
The form’s UI event decides which knowledge classifier runs, through client.knowledgeSearch. Attach links the article to the ticket. How the article reaches the requester is set in Attach Sofi-suggested knowledge to tickets.
The Sofi panel on the Service Portal is turned on by system.feature.override.show-new-sofi-widget-on-portal, which is false by default.
Writing for search
Search matches words in the fields above, so articles with clear titles, summaries and metadata are found more often. The End-user guide has advice for authors in Write articles Sofi can find.