Training the agentΒΆ

After it has been created and configured, the agent must be trained using the training API so that it can ultimately be used for sentence analysis in conversation:

curl -X 'POST' "${NLU_HOST}/nlu/v1/agents/${agent_id}/training:start"

The training of the agent can be monitored through the agent status API.

curl -X 'GET' "${NLU_HOST}/nlu/v1/agents/${agent_id}/training"

If you desire a better formatting of the result:

curl -X 'GET' "${NLU_HOST}/nlu/v1/agents/${agent_id}/training" | jq '.'

If the program jq is not already installed, run:

sudo apt install jq

For more information on the model states during training, refer to Model status.