predictive intelligence auto assignment and recommendation
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi All,
I have configured PI classification solution for assignment group. It is showing AI/ML prediction under assignment group field in the SOW. What are the next steps? Do I create a recommendation now for it to recommend the group in the field? Also, how do I have recommended group populated automatically when Incident is saved?
Thanks in advance!
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
You can do it by using available server side APIs.
For your case especially, you can use Classification related APIs.
See sample code below
var mlSolution = sn_ml.ClassificationSolutionStore.get('ml_incident_categorization');
// single GlideRecord input
var input = new GlideRecord("incident");
input.get("<sys_id>");
// configure optional parameters
var options = {};
options.top_n = 3;
options.apply_threshold = false;
var results = mlSolution.getVersion(1).predict(input, options);
// pretty print JSON results
gs.print(JSON.stringify(JSON.parse(results), null, 2));
Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth
