Enabling voice-based interactions with Amazon Alexa and AWS Lambda Sébastien Stormacq, Senior Solution Architect June 30th 2016
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
When you have a question or want to do something, all you have to do is ask.
Customer feedback
10
BUILDING AN ECOSYSTEM FOR ALEXA
THE ALEXA ECOSYSTEM Supported by two powerful frameworks
A L E XA VOICE S E RV I C E Unparalleled Distribution: AVS allows your content to be everywhere
A L E XA S KILLS KIT
Lives In The Cloud Automated Speech Recognition (ASR) Natural Language Understanding (NLU) Always Learning
Create Great Content: ASK is how you connect to your consumer
UNDER THE HOOD OF ASK A closer look at how the Alexa Skills Kit process a request and returns an appropriate response
You Pass Back a Textual or Audio Response
Your Service processes Request Alexa Converts Text-to-Speech (TTS) & Renders Graphical Component
User Makes a Request
Audio Stream is sent up to Alexa
You Pass Back a Graphical Response
Alexa Identifies Skill & Recognizes Intent Through ASR & NLU
Respond to Intent through Text & Visual
Alexa sends Customer Intent to Your Service
BUILDING YOUR VOICE EXPERIENCE
W H E R E D O W E S TA RT ? The Evolution of a Skill
ANALYZE USER FEEDBACK & OPTIMIZE SKILL
C R AW L What’s Your Core Functionality?
Traffic Skill Example Give an estimated time of arrival from home to work.
INNOVATE FOR CUSTOMERS
WA L K Expand Capabilities & Features
Traffic Skill Example Include accidents, construction and closures on route.
RUN Evolve Over Time
Traffic Skill Example Proactively alert user to delays and provide alternate routes.
THE PLAN 1
High-Level Framework to help get you started
V O IC E E X PE R IE NC E D E SIG N
We’ve put together a plan to take your projects from inception to launch through a honed process that includes multiple touch-points with the Alexa team.
Establish Strategic & Creative Direction What’s Your MVP? Develop User Flows & Scripts Prepare Utterances & Responses
ST ART
END
D E V E L O PM E NT T E S T I N G & C E R T I F I C AT I O N Amazon & Developer Testing & Adjustments Certification & Deployment
3
Bring the Skill to Life Initial Skill Submission Deliver Skill to Amazon For Review
2
LET’S BUILD A NEW SKILL FOR ALEXA
ALEXA SKILL KIT High Level Overview
Your Code
ALEXA SKILL KIT High Level Overview
Amazon EC2
ALEXA SKILL KIT High Level Overview
Web tier
App tier
Availability Zone 1
RDS (Master)
Availability Zone 2
RDS (Standby)
ALEXA SKILL KIT High Level Overview Elastic Beanstalk environment Elastic Beanstalk container
Auto Scaling group Route 53
Prod 1
Elastic Beanstalk container
Auto Scaling group
Prod 2
ALEXA SKILL KIT High Level Overview
AWS Lambda
ALEXA SKILL KIT Voice Model
Intents Utterances Slots
ALEXA SKILL KIT Voice Model
Intents Utterances Slots
ALEXA SKILL KIT Voice Model
Intents Utterances Slots
ALEXA SKILL KIT Voice Model
Intents Utterances Slots
ALEXA SKILL KIT NodeJS Code
ALEXA SKILL KIT Developer Console
ALEXA SKILL KIT Developer Console
ALEXA SKILL KIT Developer Console
ALEXA SKILL KIT Developer Console
ALEXA SKILL KIT Developer Console
ALEXA SKILL KIT Alexa App
TESTING YOUR SKILL From a device or a web app
CALL FOR ACTIONS Start to develop for Alexa today
CALL FOR ACTIONS Start to develop for Alexa today
developers.amazon.com
Thank you Sébastien Stormacq
[email protected]