ML Utterances Train API¶
To initiate the ML training for a bot.
Method | POST |
Endpoint | https://{{host}}/api/public/bot/{{BotID}}/ml/train
|
Content Type | application/json
|
Authorization | auth: {{JWT}}
|
API Scope |
|
Query Parameters¶
PARAMETER | DESCRIPTION | MANDATE |
host | The environment URL. For example, https://bots.kore.ai
|
Required |
BotID | The Bot ID or Stream ID to be accessed under General Settings on the Bot Builder. | Required |
Sample Request¶
curl -X POST 'https://{{host}}/api/public/bot/{{BotId}}/ml/train' \
--header 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
--header 'bot-language: de'
Note
If the bot language is not included in the header, the default English language is considered for the training. Find the list of supported bot languages here.
Body Parameters¶
No Body Parameters are passed.