hands-on lab
Creating a Weather Forecasting Chatbot with Dialogflow
Difficulty: Advanced
Duration: Up to 1 hour
Students: 123
Rating: 4.2/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Description
A chatbot is only as useful as the information it helps to serve. In this lab you will learn how to make a chatbot that can look up the weather from a US Government forecasting API. This bot will be able to take any Latitude & Longitude coordinates inside of the United States, parse them, and give a plain text response.
Learning Objectives
Upon completion of this Lab you will be able to:
- Integrate external sources of truth with Dialogflow
- Leverage Google Cloud Functions to call external APIs
- Expand Dialogflow to serve real-world data
Intended Audience
This lab is intended for:
- Machine learning engineers
- Anyone interested in bots
Prerequisites
You should possess:
- A basic understanding of Dialogflow Intents, Entities, and Responses is required
- A basic understanding of NodeJS is recommended
- A basic understanding of Google Cloud is helpful but not required
The following content is sufficient to fulfill these prerequisites:
Covered topics
Lab steps
SIgning in to the Dialogflow Console
Enabling the Dialogflow Inline Editor
Creating the Forecast Intent
Updating the Function
Handling Dynamic Responses
Deploying the Forecast API Service
Improving the Usefulness for End-Users