There are numerous use cases in the chatbot area. This talk will show you how to establish and store sessions in a chatbot. Furthermore, I will also talk about how to build flexible multi-turn conversations using the session concept.
In the chatbot area, there are numerous use cases, including one-on-one chat, chat in channels, comments on social media, or even conversation with voice assistants. In all cases, we have to distinguish those conversations and create the sessions for them. After that, we can respond correctly, save user info and conversation state, and finally build a multi-turn conversation accordingly.
This talk will mention the following details of the session mechanism:
- What are the differences between chat channels
- How to retrieve a reliable session ID from data
- How to save your sessions
Also, the knowledge about multi-turn conversations:
- What is the fundamental of those multi-turn conversations
- How to build a form-like multi-turn conversation
- How to enter different conversation branches conditionally
- How to exit the ongoing conversation
- What are the differences between chat channels
About CHEN-TSU LIN
An open source enthusiast who writes JavaScript.