# Training task

After building a flow, you have to make sure that they are connected to the right answers and that sentences are tied to the right meanings.

The training process is the same as a person learning a new language. The more you train, the better the results.

To do so, you train your Intents and Entities using a Natural Language Processing engine. In Syntphony CAI you can use our internal NLP or use external ones.

## Training using Syntphony NLP

After building a flow, you have to make sure that they are connected to the right answers. Here, you will learn the best way to do this.

<figure><img src="https://4008706377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn6zS4HeuuVpRHZEvDiFU%2Fuploads%2FF95dhMUmV439LflD8tqU%2Fimage.png?alt=media&#x26;token=e67f47f9-180f-412a-bbf9-c45309e5294f" alt=""><figcaption></figcaption></figure>

If you are using NTT DATA Syntphony NLP, you will have to train your Intents and Entities using the Syntphony CAI cockpit. Every time an Intent, Entity, document, or question is changed, the button “Train” will appear in the training section. Just click it.Training a virtual agent is very easy! You'll just have to go to the training repository:

<figure><img src="https://4008706377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn6zS4HeuuVpRHZEvDiFU%2Fuploads%2FYev49r6IfKW2neznWiBD%2Fimage.png?alt=media&#x26;token=5145825d-885c-42a7-b848-563a1aaa4e5c" alt=""><figcaption></figcaption></figure>

View all trained versions (valid and invalid) in the repository. The latest trained version will be automatically published.

{% hint style="info" %}

* To enable the `Training` button you must have at least five intents with at least five examples each.
* If you delete an intent or example in the repository, you'll need to retrain your content.
* Entities don’t have minimum number of values to be trained.
  {% endhint %}

After training, you can check the details of the training.

<figure><img src="https://4008706377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn6zS4HeuuVpRHZEvDiFU%2Fuploads%2FvGmGg2N4WMWQq4ygMfB9%2Fimage.png?alt=media&#x26;token=de049b8b-b06b-423f-8218-a6bdd84a917c" alt=""><figcaption></figcaption></figure>

Click on “(view details)” to review what went wrong on that specific training.

<figure><img src="https://4008706377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fn6zS4HeuuVpRHZEvDiFU%2Fuploads%2FGve2POiIOLub5LzRj2rt%2Fimage.png?alt=media&#x26;token=fdde0d74-fc1f-4eae-8012-1c4a9058bd73" alt=""><figcaption></figcaption></figure>

## Other Connectors

If you want to use other external NLPs, please continue to the next section:

{% content-ref url="../../getting-started/language-models/other-nlp-and-llm-connectors" %}
[other-nlp-and-llm-connectors](https://docs.conversational-ai.syntphony.com/user-guide/getting-started/language-models/other-nlp-and-llm-connectors)
{% endcontent-ref %}
