際際滷

際際滷Share a Scribd company logo
GOOGLE VS ALEXA
BATTLE OF THE BOTS
Heather Downing
HEATHER
DOWNING
@QUORRALYNE
QUORRALYNE.COM
QUORRALYNE@GMAIL.COM
Focus in .Net, mobile and voice apps
Experience developing
for Fortune 500 companies
Speaker and entrepreneur
Horseback Archery Competitor
Elven vocalist with 3 recorded albums
Semi-Professional photographer
X
BY 2021, MORE THAN 50% PERCENT
OF ENTERPRISES WILL SPEND MORE
PER ANNUM ON BOTS AND CHATBOT
CREATION THAN TRADITIONAL
MOBILE APP DEVELOPMENT.
@quorralyne
Gartner, October 2017
THE QUESTIONS
@quorralyne
How does a skill work
Where do we program it
What concepts should I know
What about debugging and testing
How to make a basic skill with a service
Can it take dynamic user input
What about expression
Can the responses be updated by non developers
Can I change responses based on user input
Does every response have to be scripted
What should voice developers keep in mind
HOW DOES A
SKILL WORK?
X
User interaction device/surface
@quorralyne
X
User interaction device/surface
NLP powered conversation
@quorralyne
X
User interaction device/surface
NLP powered conversation
Ecosystem of capabilities/skills
@quorralyne
X
@quorralyne
X
@quorralyne
@quorralyne
@quorralyne
X
@quorralyne
X
@quorralyne
@quorralyne
WHERE DO WE
PROGRAM IT?
X
@quorralyne
@quorralyne
X
@quorralyne
@quorralyne
@quorralyne
X
@quorralyne
X
*Export for every change
@quorralyne
WHAT CONCEPTS
SHOULD I KNOW?
Paul Grice
@quorralyne
Grices Maxims
QUALITY - Being true
QUANTITY - Being brief
RELEVANCE - Being relevant
MANNER - Being clear
THE COOPERATIVE
PRINCIPAL
@quorralyne
X
@quorralyne
HAPPY PATH COOPERATIVE PATH
CONVERSATIONAL
IMPLICATURE
@quorralyne
X
@quorralyne
CONVERSATION
Jakob: I really need a drink.
Todd: Have you been to The Scotsman?
X
@quorralyne
CONVERSATION IMPLIES
Jakob: I really need a drink.
Todd: Have you been to The Scotsman?
The Scotsman serves drinks
The drinks are alcoholic
The Scotsman is open for business
The Scotsman is nearby
The Scotsman is a place a 3rd party 
would probably like
X
Various commands the user can access.
Think of them as events.
INTENTS
01
X
@quorralyne
X
SAMPLE UTTERANCES
02
Speci鍖c words/phrases the user can say to invoke your intents.
Can be many versions of an utterance to invoke a single intent.
X
@quorralyne
ONE TO MANY RELATIONSHIP
CurrentTimeIntent
What time is it?

Whats the time?

How late is it?

Whats the time now?

Do you have the time?

Can you tell me the time?
X
The word/phrase that the user speaks to identify your skill.
It may or may not match the name of your skill.
INVOCATION NAME
03
X
Accepts these Intents and acts upon them.
Will form a response to the Voice Assistant request.
ENDPOINT / FULFILLMENT
04
@quorralyne
@quorralyne
@quorralyne
X
Ties everything together and routes requests to the web service for your skill.
Controls publishing, and optionally allows templated conversations.
PORTAL CONFIGURATION
05
ALEXA DOCUMENTATION
DEVELOPER.AMAZON.COM/ALEXA
@quorralyne
ACTIONS ON GOOGLE
DOCUMENTATION
DEVELOPERS.GOOGLE.COM/ACTIONS
@quorralyne
WHAT ABOUT
DEBUGGING
AND TESTING?
@quorralyne
@quorralyne
@quorralyne
@quorralyne
@quorralyne
@quorralyne
@quorralyne
HOW TO MAKE A BASIC
SKILL WITH A SERVICE?
@quorralyne
@quorralyne
@quorralyne
Google vs Alexa: Battle of the Bots
Google vs Alexa: Battle of the Bots
CAN IT TAKE DYNAMIC
USER INPUT?
CUSTOM SLOTS
& BUILT-IN INTENTS
X
@quorralyne
@quorralyne
@quorralyne
Google vs Alexa: Battle of the Bots
WHAT ABOUT
EXPRESSION?
SPEECH SYNTHESIS
MARKUP
LANGUAGE (SSML) & SPEECHCONS
@quorralyne
X
@quorralyne
SSML Example
SSML OFFICIAL SPEC
W3.ORG/TR/SPEECH-SYNTHESIS
@quorralyne
GOOGLE ASSISTANT
@quorralyne
ALEXA
@quorralyne
Google vs Alexa: Battle of the Bots
CAN THE RESPONSES
BE UPDATED BY
NON-DEVELOPERS?
@quorralyne
@quorralyne
@quorralyne
CAN I CHANGE
RESPONSES BASED ON
USER INPUT?
TONE ANALYZER API
TONE ANALYZER API
TONE ANALYZER API
AZURE TEXT ANALYTICS API
AZURE TEXT ANALYTICS API
AZURE TEXT ANALYTICS API
DOES EVERY RESPONSE
HAVE TO BE SCRIPTED?
@quorralyne
WHAT SHOULD VOICE
DEVELOPERS KEEP IN
MIND?
@quorralyne
X
ADDITIONAL RESOURCES
INTENT SEQUENCING:
freebusy.io/blog/building-conversational-alexa-apps-for-amazon-echo
SSML:
bespoken.tools/blog/2017/02/13/playing-audio-with-alexa-using-ssml
LCARS EXAMPLE SKILL:
https://github.com/Quorralyne/LCARS-Alexa-Skill-WebAPI
VOICE DESIGN (JAMES GIANGOLA):
https://www.youtube.com/watch?v=wuDP_eygsvs
@quorralyne
STAY CURIOUS.SLIDESHARE.NET/QUORRALYNE | GITHUB.COM/QUORRALYNE
Heather Downing
@quorralyne | quorralyne@gmail.com | www.quorralyne.com | DigitalLightCycle.blogspot.com

More Related Content

Google vs Alexa: Battle of the Bots