aws re:invent 2016: building a smarter home with alexa(alx303)
TRANSCRIPT
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Charlie Kindel
December 1, 2016
Building a Smarter Home
with Alexa
@ckindel
ALX303
70s 80s 90s 00s Present
mode
GUI
web
mobile
character
VUI
W E B E L I E V E V O I C E R E P R E S E N T S T H E NEXT MAJOR DISRUPTION IN COMPUTING
70s 80s 90s 00s 10 20
S P E E C H U N D E R S T A N D I N G A D V A N C E M E N T S
M E E T O U R A L E X A -ENABLED DEVICES
UNDER THE HOOD OF THE ALEXA SKILLS KITA closer look at how the Alexa Skills Kit processes a request and returns an appropriate response
You Pass Back a Textual or
Audio Response
You Pass Back a Graphical
Response
Alexa Converts Text-to-Speech
(TTS) & Renders Graphical
Component
Respond to Intent
through Text & Visual
Alexa sends Customer
Intent to Your Service
Your Service
processes
Request
User Makes a
Request
Audio Stream is
sent up to Alexa Alexa Identifies Skill & Recognizes
Intent Through ASR & NLU
SMART HOME SKILL API
DIRECTIVE LANGUAGE
JSON
Header
{"header": {
},"payload": {
}}
Payload
DIRECTIVE - HEADER
messageId
name
{"header": {
"messageId": "unique & <128 characters","name": "directive name","namespace": "discovery|control","payloadVersion": "API version 2"},
"payload": {}
}
namespace
payloadVersion
DIRECTIVE – HEADER EXAMPLE
{"header": {
"messageId": "0123456-blah-blah","name": "TurnOnRequest","namespace": "Alexa.ConnectedHome.Control","payloadVersion": "2"},
"payload": {}
}
DIRECTIVE – PAYLOAD
{"header": {
"messageId": "0123456-blah-blah","name": "TurnOnRequest","namespace": "Alexa.ConnectedHome.Control","payloadVersion": "2"},
"payload": {"accessToken": "[OAuth Token here]",
"appliance": {"applianceId": "[Device ID for Kitchen Light]"
}}
}
DIRECTIVE IN USE
A L E X A
V O I C E
S E R V I C E
A L E X A
S K I L L S
K I T
A M A Z O N S M A R T H O M E S T O R E
( a m a z o n . c o m / s m a r t h o m e )
@ckindel [email protected]
Docs, tutorials,
developer webinars,
office-hours,
and in-person events:
developer.amazon.com/alexa
Remember to complete
your evaluations!
Other Alexa SessionsT
hurs
day
11:30am ALX202: How Amazon is enabling the future of Automotive Venetian, Level 3, Lido
3003
1pm ALX303: Building a Smarter Home with Alexa Venetian, Level 3,
Murano 3203
3:30 ALX307: Voice-enabling Your Home and Devices with Amazon Alexa and AWS
IoT
Venetian, Level 2,
Opaline Theatre
5pm ALX302: Build a Serverless Back End for Your Alexa-Based Voice Interactions Venetian, Level 2,
Opaline Theatre
9:30am ALX304: Tips and Tricks on Bringing Alexa to Your Products Venetian, Level 1,
Marco Polo 806
11am ALX305: From VUI to QA: Building a Voice-Based Adventure Game for Alexa Venetian, Level 1,
Marco Polo 806Friday
11am ALX203: Workshop: Creating Voice Experiences with Alexa Skills: From Idea to
Testing in Two Hours
Mirage, Jamaica B
1pm ALX306: State of the Union: Amazon Alexa and Recent Advances in
Conversational AI
Venetian, Level 2,
Sands Showroom
11:30am
and
2:30pm
ALX204: Workshop: Build an Alexa-Enabled Product with Raspberry Pi Mirage, Antigua B
5pm ALX301: Alexa in the Enterprise: How JPL Leverages Alexa to Further Space
Exploration with Internet of Things
Venetian, Level 2,
Venetian B
Wednesday