Skip to content

werayuthgswu/Voice-User-Interface-Projects

 
 

Repository files navigation

Voice User Interface Projects

Book Name

This is the code repository for Voice User Interface Projects, published by Packt.

Build voice-enabled applications using Dialogflow for Google Home and Alexa Skills Kit for Amazon Echo

What is this book about?

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.

This book covers the following exciting features:

  • Understand NLP platforms with machine learning
  • Exploit best practices and user experiences in creating VUI
  • Build voice-enabled chatbots
  • Host, secure, and test in a cloud platform
  • Create voice-enabled applications for personal digital assistant devices

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

var request, response;
exports.dialogflowFirebaseFulfillment = firebase.https.onRequest((req, res) => {
  request = req;
  response = res;  
  console.log('Fortune Cookie Request headers: ' + JSON.stringify(request.headers));
  console.log('Fortune Cookie Request body: ' + JSON.stringify(request.body));
  if (request.body.queryResult) {
    processV2Request();
  } else {
    console.log('Invalid Request');
    return response.status(400).end('Invalid Webhook Request');
  }
});

Following is what you need for this book: Copy and paste the Audience section from the EPIC.

With the following software and hardware list you can run all code files present in the book (Chapter 1-10).

Software and Hardware List

Chapter Software required OS required
4-10 Visual Studio, Node.js, Postman, Windows, Mac OS X, and Linux (Any)
Visual Studio Community

Related products

Get to Know the Author

Henry Lee has over 18 years of experience in software engineering. His passion for software engineering has led him to work at various start-ups. Currently, he works as the principal architect responsible for the R&D and the digital strategies. In his spare time, He loves to travel and snowboard, and enjoys discussing the latest technology trends over a cigar! Also, he authored three books at Apress on mobile development.

Suggestions and Feedback

Click here if you have any feedback or suggestions.

About

Voice User Interface Projects, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 76.2%
  • JavaScript 23.8%