Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Voice User Interface Projects

You're reading from   Voice User Interface Projects Build voice-enabled applications using Dialogflow for Google Home and Alexa Skills Kit for Amazon Echo

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781788473354
Length 404 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Henry Lee Henry Lee
Author Profile Icon Henry Lee
Henry Lee
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Introduction FREE CHAPTER 2. Building an FAQs Chatbot 3. Building a Fortune Cookie Application 4. Hosting, Securing, and Testing Fortune Cookie in the Cloud 5. Deploying the Fortune Cookie App for Google Home 6. Building a Cooking Application Using Alexa 7. Using Advanced Alexa Features for the Cooking App 8. Migrating the Alexa Cooking Application to Google Home 9. Building a Voice-Enabled Podcast for the Car 10. Hosting and Enhancing the Android Auto Podcast 11. Other Books You May Enjoy

Creating a webhook to handle Dialogflow

In the previous section, you successfully migrated the Henry's Kitchen Alexa skill to a Dialogflow agent. For the intents you created, you would need to fulfill the intents' requests from the Node.js server. You will be using the same Microsoft Azure App Service that you set up for handling the Alexa endpoint to also handle the Dialogflow webhook. Most of the code you wrote for the Alexa skill will be reused, but there is code that you must refactor in order to apply it to both Alexa skill requests and Dialogflow agent requests.

What code is reused?

Redis will be used for both Alexa and Dialogflow requests to maintain the conversational state. In the beginning of the code...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image