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!

πŸ™ŒπŸ»

Made with Slides.com