Train and try your NLU model
Train and try your model iteratively so that its intents and entities are validated, compiled, and saved to your model.
Avant de commencer
- Make sure that the NLU Workbench - Core plugin, NLU Workbench plugin, and Predictive Intelligence plugin are all installed and activated.
- Create an NLU model. For more information, see Creating models.
- Create one or more NLU intents and their associated entities for your model. For more information, see NLU intents.
- If any utterance references a table vocabulary source, ensure that the source has been synchronized so that its values are available to your model. For more information see Sync a table vocabulary source.
- Role required: nlu_editor, nlu_admin, or admin. The NLU editor must be assigned to the model.
Pourquoi et quand exécuter cette tâche
Training your model saves any changes you made to the content, and checks for conflicts or errors. Training also makes a model available for publishing.
After training, you can try your model by manually entering individual utterances to
see what intents are predicted.
Remarque :
To run a test of your model against a list of
test utterances, see Test and publish your model.
The mid-conversation responses of Dialog Acts can't be tried or tested in NLU Workbench.
In this example scenario, you've already built sufficient model content by adding intents, utterances, entities, and their associated annotations. Following the example procedure, you first train your NLU model. Then you try your model by manually entering utterances so you can check the prediction results and confidence scores.
Procédure
Résultats
In this example, you entered I need to update my home address
as the utterance to try.
- The system displays the model's confidence threshold, which is 76% in this example.
- Under Top prediction(s), the system displays all intents that were predicted with a confidence score greater than the threshold.
- In the example, the intent UpdateAddress is predicted with a confidence score of 97%, which is greater than the threshold of 76%.
Que faire ensuite
- Continue trying various utterances to check that your updates to model content are effective. See Compare draft and published versions of your NLU model.
- To test your model against a list of test utterances, use its default test set in the Test and publish your model phase, or navigate to Multi-model Batch Testing.
- To adjust the model's confidence threshold, use the Settings tab on the model's overview page. For more information, see NLU model settings.
- If you're satisfied with the results of your testing, Publish your NLU model.