Building a chatbot with Dialogflow

After analyzing the main components of Dialogflow, it is time to focus on a practical application. In fact, we will create a simple chatbot that will help users to retrieve weather information about the most beautiful city in the world.

The first thing to do is to create the agent, that is, the project containing intents, entities, and answers that you want to deliver to the user. The intent is the mechanisms that collect what the user is requesting (using the entities) and direct the agent to respond accordingly. For simple answers that do not include information collected outside the conversation, you can define the answers directly in the intent. You can perform more advanced responses using your own ...

Get Hands-On Machine Learning on Google Cloud Platform 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.