- Hands-On Chatbots and Conversational UI Development
- Srini Janarthanam
- 299字
- 2021-07-02 19:15:26
Go to block cards
Buttons can be used to navigate the user from one block to another, however, the user has to push the button to enable navigation. However, there may be circumstances where the navigation needs to happen automatically. For instance, if the chatbot is giving the user step-by-step instructions on how to do something, it can be built by putting all the cards (one step of information per card) in one block. However, it might be a good idea to put them in different blocks for the sake of modularity. In such a case, we need to provide the user a next step button to move on to the next step.
In Chatfuel, we can use the Go to Block card to address this problem. A Go to Block card can be placed at the end of any block to take the chatbot to another block. Once the chatbot executes all the cards in a block, it moves to another block automatically without any user intervention. Using Go to Block cards, we can build the chatbot in a modular fashion. To add a Go to Block card at the end of a block, choose ADD A CARD, click the + icon and choose Go to Block card. Fill in the block name for redirection:

Redirections can also be made random and conditional. By choosing the random option, we can make the chatbot choose one of the mentioned blocks randomly. This adds a bit of uncertainty to the conversation. However, this needs to be used very carefully because the context of the conversation may get tricky to maintain.
Conditional redirections can be done if there is a need to check the context before the redirection is done. Let's revisit this option after we discuss context.
- 物聯(lián)網(wǎng)標(biāo)準(zhǔn)化指南
- Modern JavaScript Web Development Cookbook
- 網(wǎng)絡(luò)創(chuàng)新指數(shù)研究
- Web Application Development with R Using Shiny
- Proxmox High Availability
- 局域網(wǎng)組建、管理與維護項目教程(Windows Server 2003)
- Spring Cloud微服務(wù)架構(gòu)進階
- 夢工廠之材質(zhì)N次方:Maya材質(zhì)手冊
- 網(wǎng)絡(luò)設(shè)計與應(yīng)用(第2版)
- 從實踐中學(xué)習(xí)手機抓包與數(shù)據(jù)分析
- 無線傳感器網(wǎng)絡(luò)定位技術(shù)
- Hands-On Docker for Microservices with Python
- 信息技術(shù)安全評估準(zhǔn)則:源流、方法與實踐
- 智能物聯(lián)網(wǎng):區(qū)塊鏈與霧計算融合應(yīng)用詳解
- 物聯(lián)網(wǎng)與智慧廣電