# 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="/files/lv0aT9jOcPGJi7Xl7nTu" 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="/files/sit5gnOeKRafKOq0VgFR" 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="/files/45wcAOGKFX7AGGKx6tfk" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/V6BB6sqy1b2XEEntYNr0" alt=""><figcaption></figcaption></figure>

## Other Connectors

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

{% content-ref url="/pages/eXCwK6O59E9WpZFNDOyl" %}
[Other NLP and LLM Connectors](/user-guide/getting-started/language-models/other-nlp-and-llm-connectors.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.conversational-ai.syntphony.com/user-guide/nlu-agents/nlu-agents/training-task.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
