Enhanced natural language handling of user inputs in NLU topic discovery
-
- UpdatedAug 3, 2023
- 2 minutes to read
- Vancouver
- Virtual Agent
Give Virtual Agent the capability of recognizing natural variations on yes and no from the user, such as sure or nope. By defining a range of boolean responses as affirmative or negative, Virtual Agent doesn't have to prompt the user to restate their preference.
When Virtual Agent doesn't understand unexpected user input, it prompts the user again for information that it can understand. Starting with the Tokyo release, Virtual Agent can understand natural variations in boolean "yes/no" responses, such as yep or nah.
Natural language handling in ServiceNow NLU
The VA NLU Dispatches [sys_cs_nlu_dispatch] table stores the names of the model and intents that handle utterance variations.
For ServiceNow® NLU, the Setup Topics Model is already configured to handle boolean user inputs in English. There are two records in the table, BOOLEAN_NO and BOOLEAN_YES, which are mapped to the Negative and Affirmative intents in the Setup Topics Model.
The Setup Topics Model and intents are read only, so if you need to modify the intents or add additional intents in other languages, create a new model with new intents. You can update the existing entries and add new ones to the table.
Setting up natural language handling for third-party NLU providers
If you are using IBM Watson, Microsoft LUIS, or Google Dialogflow for NLU topic discovery, add entries for the corresponding model and intents in the VA NLU Dispatches table, as described in Configure enhanced natural language user input handling.
Changing the confidence threshold
The confidence threshold for boolean inputs is defined in the com.glide.cs.dialog.boolean_threshold system property. The default value is 0.9. For more information, see Add a system property.