NLU intents
Summarize
Summary of NLU Intents Enable AI Experiences
NLU intents are essential for enabling effective communication between users and the system. They help translate user utterances into actions that the system can execute, enhancing the performance of the Virtual Agent and Search functions. A well-structured set of intents, along with relevant utterances and vocabulary, significantly improves intent prediction accuracy.
Show less
Key Features
- Intent Creation: Add intents to match user inputs with system actions. A model can include up to 750 intents, but caution is advised as exceeding 300 intents or 4500 utterances may slow down training and publishing.
- Utterances: Each intent requires a minimum of 5 training utterances to begin training. A model can support up to 20,000 utterances, but models with over 4,500 utterances will take longer to process.
- Vocabulary Support: Integrate relevant vocabulary to improve intent prediction, especially for domain-specific terms.
- Entity Association: Enhance intent context by associating entities, providing additional meaning during user input predictions.
- Intent Management: Enable or deactivate individual intents as needed. However, if an intent is linked to a published Virtual Agent topic, it cannot be altered.
Key Outcomes
By effectively managing intents, you can ensure that your NLU models perform optimally, providing accurate responses to user inputs. Addressing potential intent conflicts and ensuring sufficient utterances will enhance the reliability of your model. Reusing intents from prebuilt NLU models can streamline your development process, saving time and resources.
Intents drive your models' responses by matching a system action to user inputs. Models with good intents help Virtual Agent and Search respond to your users accurately.
Think of intents as the core that drives the comprehension of natural language. Intents help the models translate utterances from your users into actions that the system can perform. Intents perform best if your utterances, entities, and vocabulary work together to support your model. Using vocabulary and realistic utterance examples can help the system to be more accurate when predicting intents.
When creating your Natural Language Understanding (NLU) model, you add intents to match user inputs with system actions. The more intents that a model has, the more actions it can take when it receives utterances from your users. Model intents can perform various actions, from creating hardware service requests to adding users to groups.
To access your model's intents, navigate to a model's overview page. In the Build and train your model phase, select View phase. The Intents tab shows by default.
A model can contain up to 750 intents. However, models with over 300 intents or 4500 utterances, whichever comes first, take longer to train, test, and publish.
To start adding content to your model, see Create an NLU intent.
The Enabled column shows whether or not the intent is active in predictions. An NLU admin can deactivate an individual intent but keep it in the model.
However, if an intent is mapped to a published Virtual Agent topic:
- You cannot deactivate the intent.
- You cannot delete the intent.
Utterances
Intents contain training utterances, which are examples of inputs that the model may see from your users. Each intent in a model has its own utterances. When trained, the model learns to recognize similar utterances from your users and then respond with the matching intent.
Select an intent to access the intent details page. The Utterances tab lists all the utterances currently in the intent.
After adding utterances, you can edit, copy, move, or delete the utterances using the icons in the right column. You can move or delete multiple utterances by selecting the box on the left first and using the Perform action on selected rows button.
- A model must have at least 1 intent, with a minimum of 5 utterances in each intent.
- An intent needs at least 5 utterances to begin training.
- The system currently supports utterances up to 25 words or 200 characters. Utterances that exceed that limit fail to return an intent prediction.
- The system currently supports up to 20,000 utterances in a single model.
- Models with more than 4,500 utterances take longer to train, test, and publish.
Provide vocabulary for any words or phrases that are relevant to your organization or domain when adding utterances to your model. The vocabulary helps with intent prediction for words and phrases that your users are likely to use. You can use the @ symbol when adding an utterance to call on a vocabulary source. For more context and examples, see NLU vocabulary.
Associated entities
Your model uses entities to provide additional context and meaning when predicting user input. You add entities to the training utterances of your intent to provide the system with more information to perform the intended action.
For more information, see NLU entities.
Intent issues
Building large models increases the chance that intents overlap, conflict, or fail to contain enough training utterances. For example, the utterance examples in one intent may end up identical to the examples in another intent. If your intents conflict, the model may not know which intent to predict when receiving user input.
If your model has issues or conflicts, the Intents page displays cards showing the number of intents affected.
Select a card to see a filtered list of intents with that issue. Resolving issues ensures that your intents meet the requirements and work as intended.
For more information, see Resolve intent issues.