11DEPLOYING YOUR OWN CHATBOT
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 ...
Get Natural Language Processing with Python and spaCy now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.