Key Benefits
- Enhanced Accuracy in Intent detection. By setting priorities, you can guide the system to focus on either parent or child Intents as desired.
- Flexible customization. Adjust mapping behavior to suit specific use cases, ensuring the right Intent is triggered.
Prerequisites
Before using this feature, ensure the following:- A Flow is created or available in your Project.
- Parent and child Intents are defined in NLU > Intents.
Restrictions
- This feature works best with full-sentence Intent examples. Single words or short phrases may lead to inaccurate mapping results.
How to Use
To set a priority, follow these steps:- Open an Intent in NLU > Intents.
- In the Intent Mapping Priority field, select one of the following options:
- Prioritise This Intent — set a priority for the current parent Intent. By default, this option is set up.
- Prioritise Child Intents — set a priority for child Intents.
- Save changes and click Build model. Build a model every time you want to apply your changes to the NLU model.
Examples
Assume that you have the following Intent data:
Consider various examples of how each option of the Intent Mapping Priority setting works.
Prioritise This Intent
Prioritise This Intent
Set up Prioritise This Intent for the parent Intent.User input:
I want to order a bacon pizzaResult: intent: Order Pizza, intent score: 0.33JSON example of object stored in the nlu.intentMapperResults.scores array:Prioritise Child Intents
Prioritise Child Intents
Set up Prioritise Child Intents for the parent Intent.User input:
I want to order a bacon pizzaResult: intent: Order Ham Pizza, intent score: 0.63JSON example of object stored in the nlu.intentMapperResults.scores array: