118
Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz

get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Get Started with Voice User Interfaces

DrupalCon Vienna September 2017

Amber Matz @amberhimesmatz

Page 2: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

About Me

Amber MatzProduction Manager and Trainer Drupalize.Me

Twitter: @amberhimesmatz

Page 3: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Drupalize.Me

big bullet

Huge bullet

super-important bullet

Page 4: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Overview of Voice Platforms & Opportunities

Designing a Voice User Interface

Voice APP Concepts

Endpoint Possibilities

Demos

In Today’s Episode

Page 5: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Take aways

by the end, You’ll better understand:

-which platform you want to learn

- the major concepts and process of voice UI implementation

Page 6: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

who is this for?

You are:

- Intermediate to advanced web or app developer

You Can:

- Copy and paste.

- Follow instructions.

Page 7: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Voice Platforms & Opportunities

Page 8: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

The emerging players

Alexa

Google

ApI.AI

Cortana

SIRI

Page 9: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Alexa

Service Name:

- Alexa

Page 10: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Purpose:

- Lets you build custom voice “skills” for Alexa-enabled devices or Integrate Alexa Into your connected product.

Alexa

Page 11: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Company:

- Amazon

Alexa

Page 12: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Hosting:

- AWS LAMBDA

- Any Internet-accessible endpoint

Alexa

Page 13: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Alexa

Devices:

- Echo Family

- KINDLE FIre

- ANy "Alexa-enabled" connected Device

Page 14: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Alexa

App distribution:

- Alexa store

- End-User Installs via Alexa App

Page 15: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Alexa

Localization & Language Support:

- US-EN

- UK-EN

-Germany-German

Page 16: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

AlexaState of Developer support

- Skill-Building UI

- Docs, samples, API Reference

- video walkthroughs & concepts

- Variety of SDKs

- Positive testing and Publishing Experience

Page 17: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Alexa

Developer home(s):

- developer.amazon.com/alexa

-developer.amazon.com/alexa-Voice-SErvice

Page 18: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz
Page 19: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Google

Service name:

-Google Assistant

- Actions on Google

Page 20: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Google

Purpose:

-Google Actions let you build apps for the google assistant

Page 21: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Google

Company:

-Google

Page 22: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Google

Hosting:

- Cloud Functions for Firebase

-Google Cloud

- Any Internet-Accessible Endpoint

Page 23: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Google

Devices:

-Google Home

- Any Google Assistant-enabled device

Page 24: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Google

App distribution:

- Automatic distribution to google-assistant enabled devices

- ]User does not enable or install custom apps

Page 25: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Google

Localization & Language support:

-Dependent on user’s regional settings

- 15 languages supported If apI.aI used to create agent

Page 26: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

- Brazilian Portuguese

- Chinese (Cantonese)

- Chinese (Simplified)

- Chinese (Traditional)

- English

-Dutch

- French

-German

- Italian

- Japanese

- Korean

- Portuguese

- Russian

- Spanish

- Ukranian

API.AI Agent Languages

Page 27: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

GoogleState of Developer support:

- Agent-building ui (Via API.AI CONSOLE)

-Docs, Samples, Links to API references and SDKS

- Video walkthroughs & concepts

- Variety of sdks, tools, Hosting

- In-App and endpoint testing (Via API.AI CONSOLE)

Page 28: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Google

Developer Home(s):

- developers.google.com/actions/

-developers.google.com/assistant/sdk

Page 29: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz
Page 30: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

API.AI

Service Name:

- API.AI

Page 31: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

API.AI

Purpose:

- Use a Unified api + UI to build conversational voice or chatbot apps and deploy to one or many platforms

Page 32: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

API.AI

Company:

-Google

- (Acquired in 2016)

blog.api.ai/post/joining-google/

Page 33: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

API.AI

Hosting & APP Distribution:

-Depends on integration

Page 34: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

API.AI

Integrations

- Actions on Google, Facebook Messenger, Kik, Line, Skype, Slack, Cisco Spark, Telegram, Cisco Tropo, Twilio, Twilio IP, TwiTTer, Viber

api.ai/docs/integrations/

Page 35: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

API.AI

Cross-platform support

- “Voice interface is cross-

platform. Your agent will

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

Page 36: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

API.AI

Localization & Language support:

-Dependent on Integration

- 15 languages supported If api.ai used to create agent

api.ai/docs/reference/language

Page 37: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

- Brazilian Portuguese

- Chinese (Cantonese)

- Chinese (Simplified)

- Chinese (Traditional)

- English

-Dutch

- French

-German

- Italian

- Japanese

- Korean

- Portuguese

- Russian

- Spanish

- Ukranian

API.AI Agent Languages

Page 38: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

API.AI

State of Developer support:

- Agent-Building UI

-Docs, Samples, API reference

- Videos (Via Google)

- Variety of SDKs

- In-App and Endpoint testing

Page 39: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

API.AI

Developer Home(s):

- apI.AI

- API.AI/DOCS/SDKS

-See also: developers.google.com/actions/

Page 40: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz
Page 41: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Service Name:

- Cortana

Cortana

Page 42: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Purpose:

- Add voice (Cortana) and “Cognitive Intelligence” to an existing bot built on the Microsoft Bot Framework.

Cortana

Page 43: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Hosting:

- Azure

- Any Internet-Accessible Endpoint

Cortana

Page 44: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Devices supported:

-Windows 10

- Android, iOS

-Harman Kardon Invoke

Cortana

Page 45: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

App Distribution:

- Bing

Cortana

Page 46: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Localization & Language support:

- Cortana is optimized for specific language and market pairings.

- She works best when your region and language settings are aligned.

Cortana

Page 47: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Cortana Regions/Languages

-Australia: English

- Brazil: Portuguese

- Canada: English/French

- China: Chinese (Simplified)

- France: French

-Germany: German

- India: English

- Italy: Italian

- Japan: Japanese

-Mexico: Spanish

- Spain: Spanish

- United Kingdom: English

- United States:

English

Page 48: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

State of Developer Support:

- Public PrevieW

-Docs

- Only integrates with bots built with Microsoft’s Bot Framework

Cortana

Page 49: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Developer Home(s):

- developer.microsoft.com/en-us/Cortana

-docs.microsoft.com/en-us/cortana/skills-faq

Cortana

Change paths to your local region

Page 50: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz
Page 51: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Service Name:

- SIRI

SIRI

Page 52: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Purpose:

- SiriKit enables your iOS apps and watchOS apps to work with Siri

- HomeKit Allows users to communicate with and control connected accessories in their home using your app

SIRI

Page 53: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Company:

- Apple

SIRI

Page 54: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

HomePod:

- Announced product

- “HomePod will have more people querying Siri.”

SIRI

www.apple.com/homepod/

Page 55: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Localization and Language support:

- I don’t Know

-HOmepod: ENglish (US, UK, Australia)

SIRI

Page 56: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Developer Home(s):

- developer.apple.com/sirikit/

- developer.apple.com/homekit/

SIRI

Page 57: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz
Page 58: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Open source options

Mycroft

Jasper

(I'm sure there are others, too.)

Page 59: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Designing for voice

http://gph.is/1cqe4FA

Page 60: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Conversation Basics

Turn-Taking

-We take turns based on subtle cues

- otherwise, we talk over each other

- How do we take turns?https://developers.google.com/actions/design/

Page 61: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Conversation Basics

Threading

- conversation evolves over time

- Includes context

-How do we keep track of what’s been said?

Page 62: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Conversation Basics

The natural efficiency of language

- “Reading between the lines”

- leaving some things unspoken

- How do we compensate for this in code?

Page 63: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Conversation Basics

Saying the same thing, differently

- People use different words to mean the same thing

- context influences response

- how can our app recognize variable responses?

Page 64: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Conversation Basics

getting “Back on Track”

- No such thing as errors

-How can we Design conversations that can get back on track?

Page 65: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Cooperative Principle

Be Cooperative…Like Your Users https://developers.google.com/actions/design/be-cooperative

Cooperative conversation:

- Be Truthful

- Be Informative

- Be Relevant

- Be clear

Page 66: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Choosing projects

Choose projects where adding voice will:

make it faster

make it easier

make it fun

https://alexa.design/guide

Page 67: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

What's Faster?

Setting timer with touch (Microwave/Phone)

Or

Saying "Alexa, Set a timer for 3 minutes" from anywhere in the room?

Page 68: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

What's Easier?

Play/stop a song with menus, screens, buttons?

Hands-free, eyes-free voice request

Page 69: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

More "Easy" Examples

"Single-Turn Dialogue" is easy:

Asking for the weather

Asking for a joke

Page 70: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

It should be easy

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

Page 71: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Designing for fun

Games should be easy to play but still present a challenge

Is there a place to incorporate humor, surprise, or delight?

How do you want users to feel during/after interaction?

Page 72: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Be choosy

Be choosy about what to expose as voice interaction

Does it make it Faster, easier, or more fun for the user?

Page 73: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

What's the purpose?

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?

Page 74: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Create a persona

What’s your UI’s personality?

What kinds of things would they say?

Is it in-line with your brand’s values?

Page 75: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

script dialogues

Write the Script between AI and the user

Focus on the "happy Path” (AT FIRST!)

Does the dialogue flow naturally?

Page 76: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Tips for Scripts

Keep interactions brief

Write for How people talk, not read or write

Indicate when the user needs to provide info

Page 77: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Diagram the flow

reference the happy path Script

map out all the inputs needed from the user

branch out to cover additional logic, Fallbacks, and conversation repair

Page 78: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Script example

https://developers.google.com/actions/design/how-conversations-work

Page 79: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Interaction modelwhat 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

Page 80: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Resources

Video: Actions on Google: Conversation Design Tipsyoutu.be/MSUPVbbhIGA

Page 81: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Resources

The Conversational UI and Why It Mattersdevelopers.google.com/actions/design/

Page 82: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Resources

Voice Design Guidealexa.design/guide

Page 83: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

key concepts

Page 84: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Activation

Wake word or action

- “Hey Siri”, “Alexa”, “OK, Google”

-Push a button on device to activate

Page 85: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Invocation

(Keywords +) The name of your app

- ALexa: “Ask/open/launch FiSh Jokes”

-Google: “Let me talk to Fish Jokes”

Page 86: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Intents

Maps what the user says to actions

- Built-in Intents help with common responses every app should have

- Custom intents are the Voice UI’s special sauce

Page 87: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

user says/utterances

phrases or words your app recognizes

- add many variations

-what about context?

- can contain slots/entities which feed arguments to your endpoint

Page 88: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

User says

Page 89: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Utterances

Page 90: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

slots/entities

optional arguments

-defined as a type & populated with terms

-used as parameters in “user says” phrases/utterances

Page 91: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Intent: entities

Page 92: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

entities

Page 93: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Slots

Page 94: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

specify entities

Page 95: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Select Slot

Page 96: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

slots in phrases

Page 97: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

entiTies in phrases

Page 98: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Cloud

WebService

AI

Request>>>

<<<Response

SkillUserDevice

Page 99: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

fulfillment

Page 100: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

endpoint possibilities

Page 101: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Hard-coded values

SkillVoice UIService

Platform Cloud

Response

Hard-coded values in

an array

Page 102: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Web services API call

Custom Voice UI

Voice UI Service

Platform Cloud

ResponseResults from

a Web Services API Call

Views JSON

Page 103: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

All Drupal

Custom Voice UI

Voice UI Service

Web Service

Self- Hosted

Page 104: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

there’s a module for that!

Page 105: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Endpoint possibilities

Drupal Integration:

- Views Display: Rest Export

- Alexa Project

- Chatbot API project

- APIAI Webhook Project

- PHP SDK for API.AI

Page 106: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Views: REST Export

Page 107: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

alexa

Page 108: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

chatbot API

Page 109: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Chatbot intent Plugin

big bullet

Huge bullet

super-important bullet

Page 110: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Views: Chatbot_Intent

Page 111: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

API.AI Webhook

Page 112: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

API.AI php sdk

Page 113: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

thank you, maintainers!

Drupal Integration:

- Views Display: Rest Export

- Alexa Project

- Chatbot API project

- APIAI Webhook Project

- PHP SDK for API.AI

Page 114: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Testing & Publication

Page 115: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Testing

Page 116: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Submit for publication

It will be Thoroughly tested

Expect feedback within 1-2 days

address feedback and re-submit!

Once approved, it’s Published!

Page 117: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Recap

Overview of Voice Platforms & Opportunities

Designing a Voice Interface

Voice APP Concepts

Endpoint Possibilities & Drupal Integration

Page 118: get started with voice - DrupalCon · 2017-09-26 · Get Started with Voice User Interfaces DrupalCon Vienna September 2017 Amber Matz @amberhimesmatz. About Me ... Twitter: @amberhimesmatz

Feedback

Session Title:Get Started With Voice User Interfaces

Visit the session page of this conference and click “Evaluate”

Contact Amber Matz on Twitter @amberhimesmatz