Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Title Page
Copyright and Credits
Voice User Interface Projects
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Reviews
Introduction
Technological advancement of VUIs
First-generation VUIs
Boom of VUIs
History of VUIs on mobile devices
History of VUIs for Google Home
History of VUIs in cars
Basic design fundamentals of VUIs
What are VUIs and why are they important?
Role of NLP in VUIs
VUI design platforms
Principles of conversation
Turn taking
Flow
Context
Verbal confirmation
Visual confirmation
Error handling
Session awareness
Providing help
Response time
Empathy
Voice-enabled applications
Home assistant devices
Automobile virtual assistant devices
Chatbots
Future of VUIs
Summary
Building an FAQs Chatbot
Why an FAQs chatbot?
Introduction to Dialogflow
Setting up a Dialogflow account
Creating your first agent
About an FAQs chatbot
What are intents?
Creating your first intent
What are entities?
Using entities
Using JSON to create entities
About action
What is context?
Creating your first context
No context
Testing context and no context scenarios
What is Google Assistant?
Installing Google Assistant on iPhone and Android
Configuring Google Assistant on Android and iPhone
Deploying FaqChatBot to Google Assistant
Configuring FaqChatBot
Machine learning in Dialogflow
Machine learning classification threshold
Training data
Summary
Building a Fortune Cookie Application
About the Fortune Cookie project
About webhook
Installing Visual Studio Code
Setting up an agent
Checking security and the service account
Enabling webhook
Deploying and testing webhook
Working with logs
Building Fortune Cookie VUIs
Building a Get Quote intent
Handling the Get Quote intent from the Webhook
Building a Get Quote based on the user feelings
Building a Feeling entity
Building events to get Feeling-based quotes
Building a Custom Welcome intent
Building a get feeling custom follow-up intent
Writing code for a feeling custom follow-up intent
Building a Get Fortune Cookie by an author
Building an Author entity
About rich response
Creating a text response
Creating an image response
Creating quick replies
Creating a card response
Creating a listSelect response
Building a Get Authors intent
Building a listSelect response in code
Building a Get Author Quote intent
Building a Get Author Quote intent's webhook
SSML and audio integration
Integrating SSML and audio to Default Welcome intent
Testing the default welcome intent SSML and audio sound
Using Analytics
Summary
Hosting, Securing, and Testing Fortune Cookie in the Cloud
What is the Microsoft Azure cloud platform?
Fortune Cookie architectural topology in Microsoft Azure
Deploying a Fortune Cookie webhook to Microsoft Azure
Updating Fortune Cookie's Node.js webhook code
Testing a webhook locally
Creating a web.config to run Node.js in Microsoft Azure
Creating Microsoft Azure App Service to host a Node.js webhook
Configuring Dialogflow webhook
Securing the Node.js webhook for Dialogflow
Storing Quotes in Cosmos DB
Creating Cosmos DB
Importing the Fortune Cookie quotes
Updating the Node.js webhook to use Cosmos DB
Installing a new component on Microsoft Node.js
Managing the Microsoft Azure Node.js service
Creating a backup of the service
Scaling up or scaling out
Managing Cosmos DB
Scaling out Cosmos DB
Geo-replicating Cosmos DB
Creating end-to-end tests using the Dialogflow client SDK
Setting up the Dialogflow client SDK
Enabling the Dialogflow API for Fortune Cookie
Creating a test script using the Dialogflow client SDK
Summary
Deploying the Fortune Cookie App for Google Home
Setting up Google Home for the first time
Learning about Google Home's features
Adding a home control device to Google Home
Deploying Fortune Cookie to Google Home
Certifying an application for the marketplace
Learning about general guidelines
Summary
Building a Cooking Application Using Alexa
Introducing the ASK
Building a Henry's Kitchen Alexa skill
Setting up the ASK development environment
Creating an Alexa skill
Creating wake up words
Building slots
Building intents
Building utterances
Creating a web service endpoint to handle skill requests
Deploying and debugging the web service endpoint
Configuring and testing the endpoint in the Alexa console
Debugging the endpoint locally
Working with Amazon Echo
Setting up and testing in Amazon Echo
Viewing history in Amazon Echo
Backing up the Alexa skill
Summary
Using Advanced Alexa Features for the Cooking App
Logging application events and data
Setting up an Azure Blob storage
Setting up application logging in the cooking application
About dialog interfaces
Building GetCookingIntent dialog models
Handling the GetCookingIntent dialog model in code
Deploying and testing the GetCookingIntent dialog model
Working with built-in Intents
About dialog states
Coding the state management
Submitting cooking app to Amazon marketplace
Summary
Migrating the Alexa Cooking Application to Google Home
Comparing an Alexa Skills Kit and Dialogflow agent
Comparing an Alexa Skill to a Dialogflow agent
Comparing intent
Comparing slots to entities
Converting the Henry's Kitchen Alexa Skill to Dialogflow
Creating the agent
Converting slots to entities
Converting Alexa intents to Dialogflow intents
Enabling a webhook
Creating a webhook to handle Dialogflow
What code is reused?
Setting up a Dialogflow router
Setting up a Dialogflow webhook entry point
Refactoring the BuildGetCookingInstruction function
Refactoring the GetOffset function
Deploying and testing Henry's Kitchen
Summary
Building a Voice-Enabled Podcast for the Car
Learning about Xamarin
Setting up the development environment
Creating a new Xamarin project
Setting up the Xamarin project for Android Auto
Building Android Auto MyPodCast
Building MusicService
Implementing MusicService (Android MediaBrowserService)
Implementing MusicPlayer
Building MusicProvider
Building an Android Media Player UI
Testing Using Android Phone
Summary
Hosting and Enhancing the Android Auto Podcast
Enhancing a MusicProvider
Creating a Node.js backend server
Creating and adding the podcasts to the Microsoft Azure blob storage
Refactoring the GetSource() method in MusicProvider
Testing Android Auto using the Desktop-Header unit
Testing the Podcast's Application in the Car
Basic Voice Commands
Certifying Android Auto
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think
← Prev
Back
Next →
← Prev
Back
Next →