NLU Model training

Training a model might be necessary in the following cases:

  • You have added your own custom data to a model, or

  • You have created a custom domain model.

The training process will expand the model’s understanding of your own data using Machine Learning.

You can also read more about training best practices.

If you have added new custom data to a model that has already been trained, additional training is required.

To train a model, you need to define or upload at least two intents and at least five utterances per intent. To ensure an even better prediction accuracy, enter or upload ten or more utterances per intent.

Deployed NLU models cannot be trained or edited in any way. They are locked and available in the view-only mode.

Training a model

To train a model:

  1. Navigate to NLU → NLU Models section.

  2. Select a model and click on it. The model drill-down page opens.

  3. Select the Train tab.

    • If the model requires training, a yellow mark is shown next to the Train tab and the Train button is green.


    • If the yellow mark is absent and the Train button is greyed out, the model has already been trained.


  4. Click the Train button, if it is green.

  5. The training starts. The model status changes to Working.


  6. When the training is completed, the model status is set to Ready. Depending on the training data scope, the training can take up to several minutes.

Setting up Confidence Level

The confidence level defines the accuracy level needed to assign intent to an utterance for the Machine Learning part of your model (if you’ve trained it with your own custom data). By default, the confidence level is 0.7. You can change this value and set the confidence level that suits you based on the Quantity and Quality of the data you’ve trained it with.

The more data you train your model with, the more accurate it will be, so a more loose Confidence level (around 0.7 - 0.9) can be used. For models with a small volume of training data, a higher Confidence level must be used to avoid false predictions.

To change the confidence threshold:

  1. Navigate to NLU → NLU Models section.

  2. Select a model from the list of available models and click on it. You are now on the model drill-down page.

  3. Go to the Settings tab.


  4. Set the needed Confidence level value.


  5. Click Save.

Downloading custom training data

To download your custom training data as a CSV file:

  1. Navigate to NLU → NLU Models section.

  2. Select a model from the list of available models and click on it to open.

  3. Click the Options menu icon next to the model status.

  4. Select Download Custom Training Data.