12IMPLEMENTING WEB DATA AND PROCESSING IMAGES
Real-life chatbots should respond to a variety of inputs, such as questions from users on unfamiliar topics or even images sent through messaging apps. For example, chatbot app users can send not only text messages, but also photos, and the bot is supposed to react appropriately to both.
This chapter provides some examples of how to use other libraries from Python’s AI ecosystem when developing a bot application. First, you’ll combine spaCy with Wikipedia to find information about keywords taken from a user’s question. Next, you’ll obtain descriptive tags for a submitted image with the help of Clarifai, ...
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.