Skip to content

Bot Deployment

Aran30 edited this page Jul 4, 2023 · 4 revisions

After creating a bot model on the frontend, you will be able to upload the bot to the SBFManager by using the "Model Uploader" on the "Bot Modeling" page. For this to work, you will need a running instance of the SBFManager and adjust the "SBFManager Endpoint" accordingly.

When creating chatbots you will also need to provide a Rasa server hosting an NLU Model. You can also use the "NLU Model Training Helper" to create your own NLU Model and upload that model by adjusting the "SBFManager Endpoint" and "Rasa NLU Endpoint" accordingly.

Deactivate running Bot

Currently, there is no possibility to turn off a bot from the modelling frontend alone. A HTTP call is available that lets users delete their bots:

DELETE <service-address>/SBFManager/bots/{agentId}

The agentId of the running bot can be found by querying the list of the running bots:

GET <service-address>/SBFManager/bots

To prevent unauthorized users to delete bots, an additional array needs to be provided. For every chat platform the particular bot uses, an object with following form will be needed:

{ "messengerNames":[
  {
    "name": "Given Name of Messenger Element found in <Name> attribute of Messenger Element", 
    "authToken": "Authentication Token String"
  },...]
}
Clone this wiki locally