building applications for amazon's alexa platforma user’s spoken request. intent schema...
TRANSCRIPT
![Page 1: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/1.jpg)
Building Applications for Amazon's Alexa Platform
Ben NorthropDistinguished Technical Consultant
Summa
Follow Alongbennorthrop.com/alexa
github.com/throp/mathwhiz
![Page 2: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/2.jpg)
About Me
● Oldish guy who still writes code● Full stack developer● Not an expert in voice technology
– Recently deployed Alexa skill for retail client
– Worked for voice technology company prior
![Page 3: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/3.jpg)
Disclaimer
![Page 4: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/4.jpg)
Agenda
1. Intro to Alexa2. Desiging Voice UIs3. Building "Skills" with Java
![Page 5: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/5.jpg)
1. Intro to Alexa
![Page 6: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/6.jpg)
What is Alexa?
● Voice driven, virtual personal assistant● Delivered via Echo, Dot, Tap, or Show● Cloud-based● Offers skills from third-party developers
![Page 7: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/7.jpg)
What can it do?
● Read the news, stories, facts...● Look up recipes, weather, TV guide...● Play music, podcasts, background noise...● Order a pizza, uber, doll house...● Control lights, thermostat, TV remote...● Quiz you on trivia, vocabulary, math...
![Page 8: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/8.jpg)
Popular Skills
![Page 9: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/9.jpg)
Skills, Skills, and More Skills
![Page 10: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/10.jpg)
In November 2016, a total of 5 million Amazon Echos, Dots, and Taps had been sold. In 6
months that number almost doubled.
Alexa Sales
![Page 11: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/11.jpg)
Exciting things in the News
![Page 12: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/12.jpg)
Voice Catching On
![Page 13: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/13.jpg)
Major Limitations
● No voice recognition● Unable to push messages or notifications *● No coordination between multiple devices● Unable to record voice● Continuous interaction needed -->
![Page 14: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/14.jpg)
Other Concerns
● Not as sticky as apps on other platforms● No clear way to monetize yet ● Less natural interaction or conversation
– Who does the “heavy lifting”?
User Developer
<------------------------------------->
or
![Page 15: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/15.jpg)
Crossed the Chasm?
![Page 16: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/16.jpg)
2. Designing Voice User Interfaces
![Page 17: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/17.jpg)
The Domain of Alexa
![Page 18: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/18.jpg)
New Skill: “Math Whiz”
![Page 19: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/19.jpg)
Skill
● Can be one of three types:– Smart home ---------------------------->
– Flash briefing -------------------------->
– Custom ---------------------------------->
● Activated via an invocation name – “math whiz”
● Defined in a given language
![Page 20: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/20.jpg)
Intent
An intent represents an action that fulfills a user’s spoken request.
Intent Schema
![Page 21: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/21.jpg)
Utterance
The words people say to interact with your skill.
![Page 22: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/22.jpg)
Slot Type
● Number– “three”, “one oh four”, “nine eight nine”
● Date– “may 4th”, “today”, “next week”, “this winter”
● Duration– “ten minutes”, “three days”, “seven years”
● Time– “noon”, “six am”, “two fifteen pm”
● List Type– airline, city, country, animal, artist, person, organization, etc.
![Page 23: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/23.jpg)
Alexa Console
User Interface
![Page 24: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/24.jpg)
3. Building Alexa Skills with Java
![Page 25: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/25.jpg)
Architecture
![Page 26: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/26.jpg)
JSON Request
![Page 27: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/27.jpg)
Java Speechlet Framework
![Page 28: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/28.jpg)
Speechlet
![Page 29: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/29.jpg)
SpeechletRequestStreamHandler
![Page 30: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/30.jpg)
Maven
![Page 31: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/31.jpg)
Hosting Options
● Amazon– Beanstalk
– Lamda
● Web Service
![Page 32: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/32.jpg)
Amazon Lamda
![Page 33: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/33.jpg)
Testing
![Page 34: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/34.jpg)
Account Linking
![Page 35: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/35.jpg)
Other Features
● Session● Audio● Built-in Intents
![Page 36: Building Applications for Amazon's Alexa Platforma user’s spoken request. Intent Schema Utterance The words people say to interact with your skill. Slot Type Number – “three”,](https://reader033.vdocument.in/reader033/viewer/2022051904/5ff4fbce0a10c1103a2bf294/html5/thumbnails/36.jpg)
Demo and
Questions?