- Hands-On Chatbots and Conversational UI Development
- Srini Janarthanam
- 322字
- 2021-07-02 19:15:23
Next steps
Now that we have brushed up on the basics, let's start building our bot:
- On the welcome block, click the default text and edit it. Hovering the mouse around the block can reveal options such as deleting the card, rearranging the order of the cards, and adding new cards between existing cards. Delete the Main menu button:

- Add a Text card. Let's add a follow-up text card and ask the user a question.
- Add buttons for user responses. Click ADD BUTTON and type in the name of the button. Ignore block names for now. Since they are incomplete, they will appear in red. Remember, you can add up to three buttons to a text card:

- Button responses need to be tied to blocks so that when users hit a button the chatbot would know what to do or say. Let's add a few blocks. To add a new block, click ADD BLOCK in the Bot Structure tab. This creates a new untitled block. On the right side, fill in the name of the block. Repeat the same for each block you want to build:

- Now, go back to the buttons and specify block names to connect to. Click the button, choose Blocks, and provide the name of the block:

- For each block, you created, add content by adding appropriate cards. Remember, each block can have more than one card. Each card will appear as a response, one after another:

Repeat the preceding steps to add more blocks and connect them to buttons of other blocks. When you are done, you can test it by clicking the TEST THIS CHATBOT button in the top-right corner of the editor. You should now see the new welcome message with buttons for responses. Go on and click one of them to have a conversation:

Great! You now have a bot with a conversational flow.
推薦閱讀
- 企業(yè)私有云建設(shè)指南
- 通信簡(jiǎn)史:從信鴿到6G+
- 區(qū)塊鏈輕松上手:原理、源碼、搭建與應(yīng)用
- 網(wǎng)絡(luò)基礎(chǔ)與網(wǎng)絡(luò)管理項(xiàng)目化教程
- CCNP TSHOOT(642-832)認(rèn)證考試指南
- Unity Artificial Intelligence Programming
- Master Apache JMeter:From Load Testing to DevOps
- 網(wǎng)絡(luò)安全應(yīng)急響應(yīng)技術(shù)實(shí)戰(zhàn)指南
- Learning Storm
- AWS Lambda Quick Start Guide
- OSPF協(xié)議原理與功能拓展
- Hands-On Cloud:Native Microservices with Jakarta EE
- 巧學(xué)活用CISCO網(wǎng)絡(luò)典型配置
- Twilio Cookbook(Second Edition)
- 從實(shí)踐中學(xué)習(xí)Kali Linux網(wǎng)絡(luò)掃描