9 Typing... Async and delayed responses
This chapter covers
- Connecting your serverless chatbot to AWS DynamoDB
- Sending a delayed message to the user when a pizza is ready
- Integrating simple natural language processing (NLP)
Being able to quickly build and deploy different applications is useful. As you’ve seen, building chatbots with Claudia Bot Builder is easy, and you can build a simple request/reply chatbot in just a few minutes.
But in the real world, chatbots need to do more complex operations than just reply with static data. You’ll probably need to store customer information and request data, and perhaps do some calculations or even answer some unrelated questions. This chapter covers all of that: you’ll learn how to make pizza orders from user requests, send delivery messages when the orders are ready, and integrate some basic natural language processing (NLP) to handle user input in a text format.
9.1 Making chatbots interactive
Your cousin Julia followed your progress and was excited when she saw you’d built the scrollable list of available pizzas. She’s already started spreading the word at school about the amazing pizza chatbot—much better than the one from Chess’s pizzeria. That’s put you in the hot seat, but Aunt Maria is happy, because she’s already seen increased website traffic as a result of that rumor.