...
The callback can be invoked by multiple actions that you define in the package , you will receive in the post body a conversationMemorySnapshot
which is the model that has all information about the current conversation that invoked this callback, we will go through a step by step example to show you how callbacks work.
...
id | (String) id of the conversation |
---|---|
botId | (String) id of the bot |
botVersion | (String) version of the chatbot |
environment | (String) bot environment e.g: restricted, unrestricted |
conversationState | (String) enumeration values : READY, |
conversationSteps | (Array of conversationStep) History of the conversation |
Info | ||
---|---|---|
| ||
Callbacks does not have a store like the other extensions e.g : http calls, behaviorSet, regularDictionaries,etc.. |
Step by step example :
We will do a step by step example from scratch (chatbot creation to a simple conversation that uses a callback)
...