This feature will allow you to take advantage of EDDI's automatic management of bots, it is possible to avoid creating conversations and managing them manually, but let them be managed by EDDI.
This will act as a shortcut to start directly a conversation with a bot that covers a specific intent.
But first you will have to set up a BotTrigger
.
{
"intent": "string",
"botDeployments": [
{
"environment": "restricted",
"botId": "string",
"initialContext": {
"additionalProp1": {
"type": "string",
"value": {}
},
"additionalProp2": {
"type": "string",
"value": {}
},
"additionalProp3": {
"type": "string",
"value": {}
}
}
}
]
}
Description of the request model
To trigger a managed bot you will have to call the following API endpoints.
Description API endpoint required path parameters
Request URL:
POST
http://localhost:7070//bottriggerstore/bottriggers
Request Body
{
"intent": "weather_trigger",
"botDeployments": [
{
"environment": "unrestricted",
"botId": "5bf5418c46e0fb000b7636d0",
"initialContext": {}
}
]
}