Book Image

Voice User Interface Projects

By : Henry Lee
Book Image

Voice User Interface Projects

By: Henry Lee

Overview of this book

From touchscreen and mouse-click, we are moving to voice- and conversation-based user interfaces. By adopting Voice User Interfaces (VUIs), you can create a more compelling and engaging experience for your users. Voice User Interface Projects teaches you how to develop voice-enabled applications for desktop, mobile, and Internet of Things (IoT) devices. This book explains in detail VUI and its importance, basic design principles of VUI, fundamentals of conversation, and the different voice-enabled applications available in the market. You will learn how to build your first voice-enabled application by utilizing DialogFlow and Alexa’s natural language processing (NLP) platform. Once you are comfortable with building voice-enabled applications, you will understand how to dynamically process and respond to the questions by using NodeJS server deployed to the cloud. You will then move on to securing NodeJS RESTful API for DialogFlow and Alexa webhooks, creating unit tests and building voice-enabled podcasts for cars. Last but not the least you will discover advanced topics such as handling sessions, creating custom intents, and extending built-in intents in order to build conversational VUIs that will help engage the users. By the end of the book, you will have grasped a thorough knowledge of how to design and develop interactive VUIs.
Table of Contents (12 chapters)

Setting up Google Home for the first time

In this section, I will be using a Google Home Mini to demonstrate setting up Google Home for the first time:

  1. In the mobile marketplace (iOS or Android), download and install the Google Home application.
  2. Log in to Google Home using the same Google account that you have been using to log in to Dialogflow.
  1. Turn on the Google Home Mini and, in your Google Home application, you will be able to see the new device. The following screenshot shows the discovered device in the Google Home application:
Google Home setup—device found
  1. Click Set up and follow the directions you see on the screen. Finally, you will be asked to connect to the same Wi-Fi channel that your phone is connected to.
  2. Once connected to Wi-Fi, you will set up the voice match. This is important, as you would not want anyone to use your Google Home. This is a great...