April 2020
Beginner to intermediate
216 pages
5h 23m
English

In previous chapters, you hardcoded all the input to your NLP scripts by manually assigning text to a doc object. But when you build chatbots for tasks like taking orders, things get more complicated. You’ll need to deploy your app to a bot channel, such as Telegram, which facilitates communication between a bot and a user.
This chapter begins with an overview of how to organize a chatbot app. You’ll be guided through the process of preparing a platform for your chatbot with Telegram and then deploying the bot to that platform. You’ll learn how to process multiple kinds of user input with the Telegram API and hold ...