Create an NLU intent
-
- UpdatedJan 30, 2025
- 3 minutes to read
- Yokohama
- AI Experiences
Create an intent for your Natural Language Understanding (NLU) model. Intents provide your model with a system action to perform when it receives user input.
Before you begin
- Make sure that the NLU Workbench plugin, NLU Workbench - Core plugin, NLU Workbench - Advanced Features plugin, NLU Common Model plugin, and Predictive Intelligence plugin are all installed and activated on your instance.
- Ensure that you are in the same application scope as your model.
- You can create intents for Virtual Agent and AI Search models in NLU Workbench.
- Role required: admin or nlu_admin
About this task
This procedure shows you how to create an intent. To reuse intents from other models, see Reusing intents from prebuilt NLU models.
Here's an example of how intents can interact with the vocabulary in their training utterances.
- Intent: #AddMembersToDistributionList
- Utterance A: "Please add Carlos Santana to the uxinfodev list"
- Utterance B: "I'm mistakenly removed from the arlo-drury-directreports group"
- Result: The system doesn't recognize uxinfodev or arlo-drury-directreports and can't use these words to predict the intent.
- Solution: Add uxinfodev and arlo-drury-directreports as vocabulary items and add synonyms to them. The synonyms you provide help add more context to the utterance and the intent in which they reside. Your intent prediction confidence can be even higher if you also mark them as entities.
Do not include unrealistic terms such as "OrderLaptop" or "sfsdfasdfas" in training utterances. Utterances should be correct and natural examples in the model's language.
In the following example procedure, you're creating an intent and adding utterances that users might say when requesting information on payment. You've already created an NLU model that you've titled HR Model for Virtual Agent and you're creating an intent in that model.
Procedure
What to do next
Train your model to save your updates. For issues with intents, see Resolve intent issues.
To improve your utterances, add entities to provide context. See NLU entities.
The available Intent Discovery feature can help identify intents that would be possible to add, based on your historical data.