Get Started with Voice User Interfaces
DrupalCon Vienna September 2017
Amber Matz @amberhimesmatz
Get Started with Voice User Interfaces Amber Matz @amberhimesmatz - - PowerPoint PPT Presentation
Get Started with Voice User Interfaces Amber Matz @amberhimesmatz DrupalCon Vienna September 2017 About Me Amber Matz Production Manager and Trainer Drupalize.Me Twitter: @amberhimesmatz Drupalize.Me big bullet Huge bullet
DrupalCon Vienna September 2017
Amber Matz @amberhimesmatz
Amber Matz
Production Manager and Trainer Drupalize.Me
Twitter: @amberhimesmatz
big bullet Huge bullet super-important bullet
Overview of Voice Platforms & Opportunities Designing a Voice User Interface Voice APP Concepts Endpoint Possibilities Demos
by the end, You’ll better understand:
want to learn
and process of voice UI implementation
You are:
advanced web or app developer You Can:
The emerging players
Alexa Google ApI.AI Cortana SIRI
Service Name:
Purpose:
voice “skills” for Alexa-enabled devices
your connected product.
Company:
Hosting:
accessible endpoint
Devices:
connected Device
App distribution:
Alexa App
Localization & Language Support:
State of Developer support
Publishing Experience
Developer home(s):
alexa
alexa-Voice-SErvice
Service name:
Purpose:
you build apps for the google assistant
Company:
Hosting:
Firebase
Accessible Endpoint
Devices:
enabled device
App distribution:
to google-assistant enabled devices
Localization & Language support:
regional settings
If apI.aI used to create agent
API.AI Agent Languages
State of Developer support:
(Via API.AI CONSOLE)
references and SDKS
API.AI CONSOLE)
Developer Home(s):
actions/
assistant/sdk
Service Name:
Purpose:
build conversational voice or chatbot apps and deploy to one or many platforms
Company:
blog.api.ai/post/joining-google/
Hosting & APP Distribution:
Integrations
Facebook Messenger, Kik, Line, Skype, Slack, Cisco Spark, Telegram, Cisco Tropo, Twilio, Twilio IP, TwiTTer, Viber
api.ai/docs/integrations/
Cross-platform support
understand your users no matter what device you're using. You design the interaction scenarios just once. Currently, we have SDK's for ALL most popular platforms and more to come.”
api.ai/docs/sdks
Localization & Language support:
If api.ai used to create agent
api.ai/docs/reference/language
API.AI Agent Languages
State of Developer support:
Developer Home(s):
developers.google.com/ actions/
Service Name:
Purpose:
“Cognitive Intelligence” to an existing bot built on the Microsoft Bot Framework.
Hosting:
Endpoint
Devices supported:
App Distribution:
Localization & Language support:
specific language and market pairings.
region and language settings are aligned.
Cortana Regions/Languages
(Simplified)
English
English
State of Developer Support:
built with Microsoft’s Bot Framework
Developer Home(s):
m/en-us/Cortana
us/cortana/skills-faq
Change paths to your local region
Service Name:
Purpose:
and watchOS apps to work with Siri
communicate with and control connected accessories in their home using your app
Company:
HomePod:
more people querying Siri.”
www.apple.com/homepod/
Localization and Language support:
UK, Australia)
Developer Home(s):
sirikit/
homekit/
Mycroft Jasper (I'm sure there are
http://gph.is/1cqe4FA
Turn-Taking
subtle cues
each other
https://developers.google.com/actions/design/
Threading
what’s been said?
The natural efficiency of language
unspoken
this in code?
Saying the same thing, differently
mean the same thing
variable responses?
getting “Back on Track”
errors
conversations that can get back on track?
Be Cooperative…Like Your Users https://developers.google.com/actions/design/be-cooperative
Cooperative conversation:
Choose projects where adding voice will: make it faster make it easier make it fun
https://alexa.design/guide
Setting timer with touch (Microwave/Phone) Or Saying "Alexa, Set a timer for 3 minutes" from anywhere in the room?
Play/stop a song with menus, screens, buttons? Hands-free, eyes-free voice request
"Single-Turn Dialogue" is easy: Asking for the weather Asking for a joke
multiple-turn dialogue needs to be easy Requires more design work Explore interaction that can flow in various ways Include “Dialogue Correction” in your Design
Games should be easy to play but still present a challenge Is there a place to incorporate humor, surprise,
How do you want users to feel during/after interaction?
Be choosy about what to expose as voice interaction Does it make it Faster, easier, or more fun for the user?
Why would people want to use your voice UI? In what context will they use it? What will they get from it that they can't get another way?
What’s your UI’s personality? What kinds of things would they say? Is it in-line with your brand’s values?
Write the Script between AI and the user Focus on the "happy Path” (AT FIRST!) Does the dialogue flow naturally?
Keep interactions brief Write for How people talk, not read or write Indicate when the user needs to provide info
reference the happy path Script map out all the inputs needed from the user branch out to cover additional logic, Fallbacks, and conversation repair
https://developers.google.com/actions/design/how-conversations-work
what are the concrete things that can happen? => Intents What is said to make these things happen? => Utterances/User Says What data do you need to fuLfill the request? => Slots/Entities
Video: Actions on Google: Conversation Design Tips youtu.be/MSUPVbbhIGA
The Conversational UI and Why It Matters developers.google.com/ actions/ design/
Voice Design Guide alexa.design/guide
Wake word or action
Google”
device to activate
(Keywords +) The name of your app
launch FiSh Jokes”
Fish Jokes”
Maps what the user says to actions
common responses every app should have
Voice UI’s special sauce
phrases or words your app recognizes
which feed arguments to your endpoint
populated with terms
“user says” phrases/ utterances
Cloud Web Service
AI
Skill
User
Device
Skill Voice UI Service
Platform Cloud
Hard- coded values in an array
Web services API call
Custom Voice UI Voice UI Service
Platform Cloud
Results from a Web Services API Call
Views JSON
Custom Voice UI Voice UI Service
Web Service
Drupal Integration:
Chatbot intent Plugin
big bullet Huge bullet super-important bullet
thank you, maintainers!
Drupal Integration:
Submit for publication
It will be Thoroughly tested Expect feedback within 1-2 days address feedback and re-submit! Once approved, it’s Published!
Overview of Voice Platforms & Opportunities Designing a Voice Interface Voice APP Concepts Endpoint Possibilities & Drupal Integration
Session Title: Get Started With Voice User Interfaces Visit the session page
click “Evaluate”
Contact Amber Matz on Twitter @amberhimesmatz