Resource generators in Recommended Actions
Resource generators in Recommended Actions provide resources that you can use as inputs to actions such as guidances and field recommendations.
Resource generators provide resources such as a knowledge article, a set of cases, or a field value that you can use in recommendations. Agents can use these recommendations in the Recommended Actions panel in a workspace such as CSM Configurable Workspace.
Another way to think of a resource generator is as a function with inputs and outputs. For example, you can create a resource generator that predicts a knowledge article and then use that knowledge article as a recommended action for a case.
You can select a resource generator from the list or create a resource generator. For a complete list of resource generators that are included with the Recommended Actions application, see Components installed with Recommended Actions.
Resource generator types
- Decision table
- Flow
- Scripting
- AI search
- Classification
- Similarity
- Similarity with Trend
- Task Intelligence Classification
- Task Intelligence Similarity
- Task Intelligence Similarity with Trend
These resource generator types are based on the Predictive Intelligence framework that you can use to create machine learning solutions.
| Resource generator type | Definition |
|---|---|
| Decision table | Returns the results of the selected decision table. Use decision tables to help you resolve a complex decision that depends on multiple inputs and predetermined outputs. For example, a decision table might
require inputs such as age, location, and health history to provide suggestions for different aspects of health insurance. You can use these suggestions, which are the outputs of the decision table, as action
inputs for a recommendation. For more information, see Decision Tables. |
| Flow | Returns recommendations generated by executing the selected subflow. Use subflows to define logic and automate outputs for the resource generators. For example, you can find relevant KB articles using inputs
such as product name, activation state, and publishing status. You can then propose to attach these KB articles as a recommended action. For more information, see Flow Designer. |
| Scripting | Returns recommendations generated by executing the selected script include. You must create an implementation of the ScriptingGeneratorFactory template to use a script include in the Scripting resource
generator type. For more information, see Script includes. |
| AI search | Returns the AI search results and genius results based on real-time data and insights regardless of the search source. These results are relevant to the context of a record. This resource generator type
requires the following inputs:
For example, you can configure AI search to recommend a KB article or similar case based on the relevancy and context of the short description. For more information, see AI Search. |
| Classification | Uses machine learning algorithms to recommend field values during record creation. This resource generator type requires the following inputs:
For example, you can configure the classification solution to recommend a value for the category or assignment group based on the short description. For more information, see Predictive Intelligence. |
| Similarity | Identifies existing records with similar values to a context record. You must create a word corpus that acts as a vocabulary for the machine learning system to compare trained records. This resource generator
type requires the following inputs:
For example, you can find similar resolved cases to propose a resolution as a recommended action. For more information, see Predictive Intelligence. |
| Similarity with Trend | Uses a trend definition to find commonality in the records returned by the similarity solution. You can configure the trend definition using a common condition, common field, or common reference, and a
threshold value for the minimum number of records that must follow a trend. This resource generator type requires the following inputs:
For example, you can find similar major incidents with a trend. Then, you can propose to link the current context record to this major incident. |
| Task Intelligence Classification | Uses machine learning models created in Task Intelligence Admin Console to recommend field values. The models provide flexible options to either auto-fill values on the record form or to provide recommendations depending on the
sensitivity of those fields. 주: The field values are not recommended for fields when the TI model is in the background mode. This resource generator type requires the following inputs:
For example, you can configure the Task Intelligence classification solution to recommend a value for the category or assignment group based on the short description. For more information, see Task Intelligence. 주: The Task Intelligence Admin Console (com.sn_ti_admin) plugin must be installed for selecting the Task Intelligence Classification resource generator type. |
|
Task Intelligence Similarity |
Identifies existing records with similar values to a context record. Uses machine learning models created in the Admin Console to recommend field values. This resource generator type evaluates the results of the Task Intelligence Admin Solution and returns the predicted values/records for multiple fields. This resource generator type requires the following inputs:
This resource generator type returns the following outputs:
|
|
Task Intelligence Similarity with Trend |
This resource generator evaluates the trend on the results of TI Similarity prediction. Using the solution (sn_ti_admin_solution) and trend (sn_nb_action_trend_definition) definitions, this resource generator type identifies records similar to the context record. Further, it analyzes these similar records to determine if they follow the specified trend. This resource generator type requires the following inputs:
This resource generator type returns the following outputs:
|
Timeout handling for resource generators
The Recommended Actions application uses a subflow API with a defined timeout when calling Machine Learning (ML) resource generators. This timeout ensures the RA generation engine prioritizes faster response times by terminating stalled ML prediction calls.
The subflow has a timeout setting of 1 second. If there is a delay and the predict call times out, the system generates a message.
- Similarity
- Task Intelligence Similarity
- Similarity with Trend
- Task Intelligence Similarity with Trend
The sn_nb_action_adv.similarity_prediction.timeout system property controls the timeout value of the subflow. The default value is set to 1000ms.