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)

Deploying a Fortune Cookie webhook to Microsoft Azure

Before you can begin deploying the Node.js webhook to Microsoft Azure, you will need to install various tools. Here are the steps you will need to follow to install and configure your computer:

  1. Create a Microsoft Azure account. Go to https://azure.microsoft.com/en-us/free/ and follow the instructions.
  2. Install https://nodejs.org/. You will be using Node.js to locally debug and will test in Visual Studio Code.
  3. Once Node.js is installed, check the Node.js version by typing node -v in the Node.js Command Prompt. I am using Version 8.9.4, but any more recent version will work.
  4. Install the Azure CLI (http://bit.ly/2w3J00u). The Azure CLI is a command-line tool for managing the Microsoft Azure cloud platform.
  5. In order to test your webhook, you will need to install Postman (https://www.getpostman.com/).
  6. You will deploy your Node.js...