Voice User Interfaces
π
With Alexa + Node.js
Ricardo Casares
Cloud Based
Voice Service
Rich Voice Experiences
What can I do with it today?
Home Automation
Flash Briefing
Games & Trivia
Workplace Tasks
Video Content
Kids Entertainment
Custom Skills
βπΌ Sample utterances
ππΌ Interaction Model
π€πΌ Built-in & Custom Slots
ππΌ Web service
βπΌ Intents
π€ Something to put all this together
βπΌ Intents
What is the weather?
Is it cold?
Is it warm?
Ν
CheckWeatherIntent
‴
It is 23 degrees
βπΌ Sample utterances
Will be raining tomorrow?
Is it warm?
Is it cold?
CheckWeatherIntent
ForecastIntent
Check the forecast for this weekend
Will the sunshine on friday?
Looks very cold outside! βοΈ
tomorrow, weekend, friday
{when} = AMAZON.DATE
π€πΌ Built-in & Custom Slots
Think of anything a user can say that you can group by a specific category.
- Dates, times & numbers - List types: Books, Movies, Cities, etc.
Built-in slots
Custom slots
{
"interactionModel": {
"languageModel": {
"invocationName": "weather",
"intents": [
{
"name": "CheckWeatherIntent",
"slots": [],
"samples": [
"is it cold",
"is it warm"
]
},
{
"name": "ForecastIntent",
"slots": [
{
"name": "when",
"type": "AMAZON.DATE"
}
],
"samples": [
"will be cold {when}",
"will be raining {when}"
]
}
],
"types": []
}
}
}
ππΌ Interaction Model
ππΌ Web service
User Alexa, open the weather skill
Alexa Welcome to the weather skill
User Will be raining tomorrow?
AlexaΒ ...
{
Β request: {
Β type: "IntentRequest",
intent: {
Β name: "ForecastIntent",
Β slots: { when: "07/06/2018" }
}
Β }
}
{ Β response: { Β outputSpeech: { text: "Yes" Β } Β } }
AlexaΒ Yes
π€ Something to put all this together
Where do we start?
Alexa, start Rolling Scopes
Tell me upcoming events
UpcomingEvents
wake word
launch
invocation name
Who are the top ten speakers?
TopSpeakers
slot
π€―
π£
Live coding time!
-
Identify your skill purpose
-
Identify user stories
-
Practice with a friend or coworker
-
Handle multiple paths
-
Keep interactions short
Takeaways
-
Provide conversation markers
-
Remember what was said
-
Provide contextual help
-
Provide definite choices
-
Handle problems
π
Current Usage
There are over one billion voice searches per month. - Alpine.ai
Google voice search queries in 2016 are up 35x over 2008. - Search Engine Watch
Cortana now has 133 million monthly users. - Microsoft
25% of 16-24s use voice search on mobile. - Global Web Index
π°
Predictions
About 30% of searches will be done without a screen by 2020. - Mediapos
We estimate there will be 21.4 million smart speakers in the US by 2020
- Activate
By 2019, the voice recognition market will be a $601 million industry. - VoiceLabs
50% of all searches will be voice searches by 2020 - ComScore
π§π»ββοΈ
Disclaimer
β οΈ
Thank You!
ππ»
Voice User Interfaces with Alexa + Node
By Ricardo Casares
Voice User Interfaces with Alexa + Node
- 1,129