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)

Building a Henry's Kitchen Alexa skill

In this chapter, you will build a cooking application called Henry's Kitchen and learn how to create voice user interfaces using the ASK for Amazon Echo devices. Using Henry's Kitchen, your users will be able to make the following statements:

  • I want to cook a vegetarian burger
  • I want to make a pizza

After receiving the request from the user, Henry's Kitchen will consume the REST API from a third party called Spoonacular ( and then use the result received from Spoonacular, which will recommend the types of dishes the user can cook and send them back to Alexa. Finally, Alexa will send the answer back to the user via an Amazon Echo device.

In summary, here are the steps that describe the workflow:

  1. The user sends a request to the Amazon Echo.
  2. The Amazon Echo sends the request to the Henry...