OBLYTECH Logo
OBLYTECH Logo

Predictive Intelligence CSM Solution Definitions Explained

Predictive Intelligence for Customer Service Management works through solution definitions. Each one reads the Short description of a case and either predicts a field value, groups cases into topics, or finds similar cases and knowledge articles. Three definitions fill in Category, Priority and Assignment group, one builds trending topics, and similarity definitions drive case suggestions and Auto-Responder content.

What the default solution definitions do

Customer Service Management provides these solution definitions as templates on instances where Predictive Intelligence and Customer Service Management are both active. You can use them as they are or create your own records to change their behavior.

Solution definition Type Works from Returns
CSM Case Assignment Classification Short description Assignment group
CSM Case Categorization Classification Short description Category
CSM Case Prioritization Classification Short description Priority
Grouping of Cases into Topics Clustering Short description Clusters of similar cases
All Similar Cases Similarity Short description Cases resembling the open case
Recommended Open Cases Similarity Short description Similar open cases
Recommended Resolved Cases Similarity Short description Similar resolved cases
Major Issue Detector Similarity Short description A major case, or similar cases not filed under one
Similar Knowledge Articles Similarity Text, Short description, Description Articles close to the case
Similar Knowledge Articles All Similarity Knowledge View database view Auto-Responder content

When something looks wrong, the definition type tells you where to look: a bad field value points to a classification definition, a strange topic to clustering, and a weak Auto-Responder suggestion to Similar Knowledge Articles All.

The feature is delivered by the plugin com.snc.csm_ml, which must be activated first.

Predicting case fields at creation

When someone creates a case, they enter a Short description and tab to the next field. The system then predicts Priority, Assignment group and Category from that text.

Predictions run when a case record is inserted, so editing the case later does not trigger a new one.

To switch it on in the Brazil release, an admin activates the Predictive Intelligence plugin, com.glide.platform_ml. Then, under Customer Service > Administration > Properties, the admin ticks “Enable/Disable the prediction for case” (property sn_customerservice.case.mlpredictor.enable) and saves. Last, under System Definition > Client Scripts, open Predict Case Values, tick Active and click Update. Activating the plugin, the property and the client script needs the admin role.

Business rules behind the predictions

Two business rules sit on the Case table, sn_customerservice_case, and they cover the three classification definitions. Default Case Based Prediction runs when a case is inserted and generates predictions from the active CSM solutions. Update Prediction Results runs when a case is closed and refreshes each solution’s precision and coverage statistics.

Upgrading from Kingston to Brazil means creating a new rule from the Default Case Based Prediction template. The template’s Solution variable collects active solutions through findActiveSolution(solutionName). In a global domain environment, use the solutionNames array and name each solution you want called. In a domain-separated environment, such as a managed service provider setup, follow the commented code in the template. Prediction drift can be managed by retraining, modifying or adding solutions, then testing the rule across each consumption point and user persona.

Training trending topics with the clustering definition

Trending topics come from Grouping of Cases into Topics (ml_sn_sn_csm_ml_global_grouping_of_cases_into_topics). The default exists but does not run until trained. Activate com.snc.csm_ml, then go to All > Predictive Intelligence > Clustering > Solution Definitions and open the definition. An admin role is required.

Adjust fields and filters to suit your queue. Two frequencies control the model. Update Frequency sets how often it is rebuilt, and Training Frequency sets how often new records are added. Set them separately, then click Update & Retrain. Check progress in the ML Solutions related list.

When training finishes, the Cluster Visualization tab shows a tree map of clusters, largest at the top left and descending towards the bottom right. Each block runs from red to green by cluster quality. Review a large red cluster’s fields and filters before reporting a trend from it. A small green cluster can still be a real recurring issue with few cases.

Setting up Auto-Responder similarity

The Auto-Responder uses Similar Knowledge Articles All (ml_sn_sn_customerservice_global_similar_knowledge_view_articles). It compares a case’s Short description with knowledge articles drawn from the Knowledge View database view, sn_customerservice_knowledge_view. Open it from All > Predictive Intelligence > Similarity > Solution Definitions and review these fields:

Field What to set
Word Corpus Defines which articles and cases are selected. The default is All Articles and Cases
Table The Knowledge View, unless articles live elsewhere
Fields Article fields compared. These must match the word corpus content
Filter Limits qualifying articles, for example Workflow is Published and Knowledge base is Customer Service
Test Table and Test Fields Case table, sn_customerservice_case, and Short description by default
Processing Language English by default. Another language adds its own stopwords list

On a custom portal, point the Knowledge base condition at that portal’s knowledge base. Custom tables need their fields added to the word corpus content. The form can be edited when the application scope is set to Customer Service, so set that first.

The Knowledge table must hold the configured minimum of records for the similarity solution to work correctly, and the default is 10,000. When Knowledge Management Advanced is active, the What Is, How To, FAQ and KCS Article template tables join the view, and each needs the same minimum. A template type below the minimum may not show results, so count the records in each table before editing the filter.

The default training schedule is periodic, every 30 days, and you can change it in the Training Request Schedule related list. Click Update & Retrain and wait for Progress to reach 100%.

Reviewing examples and setting the threshold

Training produces example pairs, and reviewing them shows whether the threshold meets your business requirements. Open the Similarity Examples related link on the ML Solution form. The examples sort by score, highest first.

Each pair gets a percentile score: 100 means identical records and 0 means dissimilar. A deployed solution returns a match only when the score is above the Similarity Score Threshold. A higher threshold gives higher precision and lower coverage, so fewer but more accurate suggestions. A threshold of 90 requires a score of 91 or above. Set it in the Solution Statistics tab, then save.

Filters on the definition are not applied to the example list. They apply at prediction time, so an example can look fine in review and still be filtered in use.

Similar case recommendations for agents

The four similar-case definitions sit under Predictive Intelligence > Similarity > Solution Definitions: All Similar Cases (ml_sn_global_all_similar_cases), Recommended Resolved Cases (ml_sn_global_recommended_resolved_cases), Recommended Open Cases (ml_sn_global_recommended_open_cases) and Major Issue Detector (ml_sn_global_major_issue_detector). Several of the Contextual search resources are associated with these definitions.

The Major Issue Detector recommends a major case when one exists. If none exists, it recommends similar cases that are not already child cases of a major case. It is trained the same way as the clustering definition, with Update & Retrain and progress checked in the ML Solutions related list.

Creating a new similarity solution asks for a Label, Table and Test Table, the Fields and Test Fields to compare, a Filter, a Processing Language and frequencies. Training Frequency ranges from Run Once up to Every 180 days. Choose Save, or Submit & Train to train immediately.

Plan around the training limit. The ML scheduler accepts 50 new training requests per instance in a 24-hour window. Scheduled retraining, clustering updates and similarity updates do not count towards that figure. From the Washington DC release, new classification, clustering and similarity solutions use pre-trained Workflow solutions and need no word corpus. Check your own form, since some Brazil topics still list the Word Corpus field.

Task Intelligence Admin Console

The Task Intelligence Admin Console creates, trains and deploys models for case and interaction records. It runs in six steps: choose a starting model, define its purpose, select training data, assess test results, choose how predictions appear (written to fields, shown as recommendations, or monitored in the background), then deploy. Its model types include field prediction and case sentiment.

Frequently asked questions

Do predictions change when a case is edited?

No. Priority, Assignment group and Category are predicted when the case record is inserted.

Why are some Auto-Responder article types missing?

Each joined template table needs the minimum record count, 10,000 by default. A table below that count may show no results, so count its records before changing the filter.

How do I make the Auto-Responder stricter?

Review the similarity examples, then raise the Similarity Score Threshold in the Solution Statistics tab. Fewer suggestions will appear, and they will be more precise.

Can the Auto-Responder search a custom knowledge base?

Yes. Point the Knowledge base condition at the custom portal’s knowledge base, and make sure the custom tables’ fields are in the word corpus content.

Who can train these solutions?

Admins train the clustering, Major Issue Detector and Similar Knowledge Articles All definitions. ml_admin or admin users can create and train new similarity solutions and review their examples.

For the wider picture, see the Customer Service Management hub.