SlideShare a Scribd company logo
1 of 40
Download to read offline
© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Donn Morrill - Sr. Manager, Solutions Architecture, Amazon Alexa
Frederic Deramat - Sr. Principal Engineer, Amazon Alexa
Stephen Chien – Senior Advanced Technology Engineer, BMW
October 2015
MBL310
Alexa Voice Service
Under the Hood
Agenda
• Echo demo
• What is AVS?
• AVS walkthrough
• AVS tips and tricks
• Alexa under the hood
• Alexa in action - BMW
Echo demo
What is ASK?
The Alexa Skills Kit (ASK) is a
collection of self-service APIs,
tools, documentation, and code
samples that make it fast and
easy for you to add skills to
Alexa. Using ASK, you can teach
new skills to Alexa in just a few
hours.
Alexa companion app
• Register a device
• View and manage actions
• Link third-party accounts
• View lists
• And much more
What is AVS?
Registration and authentication
Basic AVS request
1) Create an HTTP request
2) Collect the audio and send the request
• Use “Transfer-Encoding: Chunked” for streaming the request or
set “Content-Length” for sending prerecorded audio
• Avoid storing the audio
3) Parse the response
4) Handle each directive
Basic AVS request: Write HTTP headers
POST /v1/avs/speechrecognizer/recognize HTTP/1.1
Host: access-alexa-na.amazon.com
Authorization: Bearer {ACCESS TOKEN}  From auth flow
Content-Type: multipart/form-data; boundary={BOUNDARY TERM}
Transfer-Encoding: chunked OR Content-Length: {LENGTH}
Basic AVS request: Send the audio
--{BOUNDARY TERM}
Content-Disposition: form-data; name="request"
Content-Type: application/json; charset=UTF-8
"messageBody": {
"profile": "alexa-close-talk",  Speech model
"locale": "en-us",
"format": "audio/L16; rate=16000; channels=1"
}
--{BOUNDARY TERM}
Content-Disposition: form-data; name="audio"
Content-Type: audio/L16; rate=16000; channels=1
{ENCODED AUDIO}  16 bit linear PCM at 16 kHz
Basic AVS request: Parse the response
HTTP/1.1 200 OK
Content-Type: multipart/related; boundary={BOUNDARY TERM}
--{BOUNDARY TERM}
Content-Type: application/json; charset=UTF-8
{ "messageHeader": {},
"messageBody": {
"directives": [ {
"namespace": “{AudioPlayer | SpeechSynthesizer}",
"name": “{DIRECTIVE}",
"payload" : {
--{BOUNDARY TERM}
Content-Disposition: form-data; name="audio"
Content-Type: audio/mpeg
Content-ID: {CONTENT ID}
{ENCODED AUDIO DATA}  If directive is speak, play this back to the user
AVS response directives
Directive Meaning
clearQueue Clear the playback queue
listen Multi-turn interaction - listen for more audio
play Play a streaming URL
speak Speak the Alexa response to the user
stop Stop streaming playback
Streaming events
Event Meaning
metadataAvailable Metadata associated with the selection in the
audio player
playbackError Audio player has experienced an issue during
playback
playbackFinished Audio player has completed playback
playbackIdle Audio player has reached the end of the
playlist
playbackInterrupted Audio player has been interrupted
playbackProgressReport Current state of the audio player
playbackStarted Audio player has started playing
Alexa platform
AVS interfaces
Interface Directives Events
SpeechRecognizer onSpeech
onTimeout
SpeechSynthesizer speak
ask
AudioPlayer play
stop
onPlaybackStarted
onPlaybackFinished
onPlaybackNearlyFinished
Speaker setVolume onVolumeChange
SpeechRecognizer
Connected Home
AudioPlayer
One-to-many interfaces
Close-talk vs. far-field
Protocol
Client
Components
HTTP REST HTTP REST Bidirectional async
Endpointer Communications Communications
Beamforming
Echo cancellation
Wakeword
Bidirectional async
1 2 3 4
Endpoint and protocol independence
AVS best practices
• Stream
• Decouple up and down channels
• Decouple protocol
• Adopt event-driven patterns
AVS under the hood
Under the hood: SLU
Skill orchestration
Skill orchestration: Focus & Context
Skill orchestration
Skill orchestration: Connected Home
Continuous improvement: Offline
Continuous improvement: Online
Continuous improvement: Online
Continuous improvement: Online
SMART AGENTS FOR BMW DRIVERS.
BMW Group Technology Office USA.
Stephen Chien
THE AUTOMOTIVE INDUSTRY WILL UNDERGO
MASSIVE CHANGES IN THE NEXT 10 YEARS.
SUSTAINABILITY DIGITALIZATION
CARS ARE POWERED BY
ELECTRICITY
CO2 SUSTAINABILITY HAS
GAINED GREATER SIGNIFICANCE
VEHICLES ARE DRIVING ALMOST
ACCIDENT-FREE
MOBILITY CONCEPTS LIKE CAR-
SHARING ARE WIDELY AVAILABLE
VEHICLES BECOME PART OF
THE DIGITAL ECOSYSTEM
HUMAN-MACHINE INTERFACES
BECOME MORE INTUITIVE
BMW i – THE NEXT GENERATION OF A CONNECTED
CAR.
Wearable
Integration
Smart TV
Integration
Smartphone
Integration
PERSONAL SMART AGENTS FOR BMW DRIVERS.
• Smart agents are everywhere
in life.
• Natural way to interact with
your vehicle.
• Easy for users to understand
and use.
• A smart agent that knows
about you and your vehicle.
PROTOTYPING AN ALEXA SKILL FOR BMW i.
Leveraging Amazon’s developer
platform.
• Built on AWS technology.
• ASK and AVS provide a seamless
user experience.
• ASK and AVS provide open
platforms.
BMW skill features.
• Request vehicle status through
Alexa.
• Execute vehicle commands
through Alexa.
BMW i SKILL DEMO.
Thank you!
Drawing winners announced:
http://bit.ly/appstoregiveaway
Remember to complete
your evaluations!

More Related Content

What's hot

Artificial passenger
Artificial passengerArtificial passenger
Artificial passengerDhanya LK
 
Edge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to YouEdge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to YouMegan O'Keefe
 
Best topics for seminar
Best topics for seminarBest topics for seminar
Best topics for seminarshilpi nagpal
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Thingspkshc01
 
Edge computing presentation
Edge computing presentationEdge computing presentation
Edge computing presentationFizaKhan82
 
Natural language processing (NLP)
Natural language processing (NLP) Natural language processing (NLP)
Natural language processing (NLP) ASWINKP11
 
Deep learning on mobile - 2019 Practitioner's Guide
Deep learning on mobile - 2019 Practitioner's GuideDeep learning on mobile - 2019 Practitioner's Guide
Deep learning on mobile - 2019 Practitioner's GuideAnirudh Koul
 
Artificial intelligence in speech recognition
Artificial intelligence in speech recognitionArtificial intelligence in speech recognition
Artificial intelligence in speech recognitionRajanivetha G
 
Autonomous vehicles
Autonomous vehiclesAutonomous vehicles
Autonomous vehiclesvishnum379
 
Self Driving Autopilot Car
Self Driving Autopilot CarSelf Driving Autopilot Car
Self Driving Autopilot CarVaibhav Koli
 
Seminar report of ewt
Seminar report of ewtSeminar report of ewt
Seminar report of ewtRanol R C
 
Drowsiness detection and updating system
Drowsiness detection and updating system Drowsiness detection and updating system
Drowsiness detection and updating system Rishabh Sharma
 
Speech recognition techniques
Speech recognition techniquesSpeech recognition techniques
Speech recognition techniquessonukumar142
 
Real Time Eye Blinking and Yawning Detection
Real Time Eye Blinking and Yawning DetectionReal Time Eye Blinking and Yawning Detection
Real Time Eye Blinking and Yawning Detectionijtsrd
 
Silent sound technology
Silent sound technologySilent sound technology
Silent sound technologyMaria Dominica
 
Touchless technology Seminar Presentation
Touchless technology Seminar PresentationTouchless technology Seminar Presentation
Touchless technology Seminar PresentationAparna Nk
 

What's hot (20)

Artificial passenger
Artificial passengerArtificial passenger
Artificial passenger
 
Edge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to YouEdge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to You
 
Best topics for seminar
Best topics for seminarBest topics for seminar
Best topics for seminar
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 
Edge computing presentation
Edge computing presentationEdge computing presentation
Edge computing presentation
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
Eyeos
EyeosEyeos
Eyeos
 
Natural language processing (NLP)
Natural language processing (NLP) Natural language processing (NLP)
Natural language processing (NLP)
 
Deep learning on mobile - 2019 Practitioner's Guide
Deep learning on mobile - 2019 Practitioner's GuideDeep learning on mobile - 2019 Practitioner's Guide
Deep learning on mobile - 2019 Practitioner's Guide
 
Artificial intelligence in speech recognition
Artificial intelligence in speech recognitionArtificial intelligence in speech recognition
Artificial intelligence in speech recognition
 
Autonomous vehicles
Autonomous vehiclesAutonomous vehicles
Autonomous vehicles
 
Self Driving Autopilot Car
Self Driving Autopilot CarSelf Driving Autopilot Car
Self Driving Autopilot Car
 
Seminar report of ewt
Seminar report of ewtSeminar report of ewt
Seminar report of ewt
 
Drowsiness detection and updating system
Drowsiness detection and updating system Drowsiness detection and updating system
Drowsiness detection and updating system
 
Speech recognition techniques
Speech recognition techniquesSpeech recognition techniques
Speech recognition techniques
 
Real Time Eye Blinking and Yawning Detection
Real Time Eye Blinking and Yawning DetectionReal Time Eye Blinking and Yawning Detection
Real Time Eye Blinking and Yawning Detection
 
Silent sound technology
Silent sound technologySilent sound technology
Silent sound technology
 
Touchless technology Seminar Presentation
Touchless technology Seminar PresentationTouchless technology Seminar Presentation
Touchless technology Seminar Presentation
 
Google glass ppt
Google glass pptGoogle glass ppt
Google glass ppt
 
SMART NOTE TAKER
SMART NOTE TAKERSMART NOTE TAKER
SMART NOTE TAKER
 

Viewers also liked

Develop Alexa Skills for Amazon Echo with PHP
Develop Alexa Skills for Amazon Echo with PHPDevelop Alexa Skills for Amazon Echo with PHP
Develop Alexa Skills for Amazon Echo with PHPRalf Eggert
 
Build an Alexa Skill Step-by-Step
Build an Alexa Skill Step-by-StepBuild an Alexa Skill Step-by-Step
Build an Alexa Skill Step-by-StepRick Wargo
 
Introduction to building alexa skills and putting your amazon echo to work
Introduction to building alexa skills and putting your amazon echo to workIntroduction to building alexa skills and putting your amazon echo to work
Introduction to building alexa skills and putting your amazon echo to workAbe Diaz
 
Alexa Hackathon - The 5 Love Languages
Alexa Hackathon - The 5 Love LanguagesAlexa Hackathon - The 5 Love Languages
Alexa Hackathon - The 5 Love LanguagesFrances Coronel
 
Amazon Alexa: our successes and fails
Amazon Alexa: our successes and failsAmazon Alexa: our successes and fails
Amazon Alexa: our successes and failsVyacheslav Lyalkin
 
Please meet Amazon Alexa and the Alexa Skills Kit
Please meet Amazon Alexa and the Alexa Skills KitPlease meet Amazon Alexa and the Alexa Skills Kit
Please meet Amazon Alexa and the Alexa Skills KitAmazon Web Services
 
Use voice recognition with Alexa to control your home [JavaOne]
Use voice recognition with Alexa to control your home [JavaOne]Use voice recognition with Alexa to control your home [JavaOne]
Use voice recognition with Alexa to control your home [JavaOne]Johan Janssen
 

Viewers also liked (7)

Develop Alexa Skills for Amazon Echo with PHP
Develop Alexa Skills for Amazon Echo with PHPDevelop Alexa Skills for Amazon Echo with PHP
Develop Alexa Skills for Amazon Echo with PHP
 
Build an Alexa Skill Step-by-Step
Build an Alexa Skill Step-by-StepBuild an Alexa Skill Step-by-Step
Build an Alexa Skill Step-by-Step
 
Introduction to building alexa skills and putting your amazon echo to work
Introduction to building alexa skills and putting your amazon echo to workIntroduction to building alexa skills and putting your amazon echo to work
Introduction to building alexa skills and putting your amazon echo to work
 
Alexa Hackathon - The 5 Love Languages
Alexa Hackathon - The 5 Love LanguagesAlexa Hackathon - The 5 Love Languages
Alexa Hackathon - The 5 Love Languages
 
Amazon Alexa: our successes and fails
Amazon Alexa: our successes and failsAmazon Alexa: our successes and fails
Amazon Alexa: our successes and fails
 
Please meet Amazon Alexa and the Alexa Skills Kit
Please meet Amazon Alexa and the Alexa Skills KitPlease meet Amazon Alexa and the Alexa Skills Kit
Please meet Amazon Alexa and the Alexa Skills Kit
 
Use voice recognition with Alexa to control your home [JavaOne]
Use voice recognition with Alexa to control your home [JavaOne]Use voice recognition with Alexa to control your home [JavaOne]
Use voice recognition with Alexa to control your home [JavaOne]
 

Similar to (MBL310) Alexa Voice Service Under the Hood

Voice Assistants Beyond Smart Speakers - Integrate Alexa into Your Unique Pro...
Voice Assistants Beyond Smart Speakers - Integrate Alexa into Your Unique Pro...Voice Assistants Beyond Smart Speakers - Integrate Alexa into Your Unique Pro...
Voice Assistants Beyond Smart Speakers - Integrate Alexa into Your Unique Pro...Amazon Web Services
 
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...Amazon Web Services
 
Tutorial adaptive-streaming
Tutorial adaptive-streamingTutorial adaptive-streaming
Tutorial adaptive-streamingJohnGregory89
 
AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...
AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...
AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...Amazon Web Services
 
AWS Media and Entertainment Cloud Symposium: Broadcast and OTT
AWS Media and Entertainment Cloud Symposium:  Broadcast and OTTAWS Media and Entertainment Cloud Symposium:  Broadcast and OTT
AWS Media and Entertainment Cloud Symposium: Broadcast and OTTAmazon Web Services
 
Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017
Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017
Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017Amazon Web Services
 
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017Amazon Web Services
 
Alexa for Device Makers: Create Products with Alexa Built-In Using AVS (ALX30...
Alexa for Device Makers: Create Products with Alexa Built-In Using AVS (ALX30...Alexa for Device Makers: Create Products with Alexa Built-In Using AVS (ALX30...
Alexa for Device Makers: Create Products with Alexa Built-In Using AVS (ALX30...Amazon Web Services
 
Building a Bank with Go
Building a Bank with GoBuilding a Bank with Go
Building a Bank with GoC4Media
 
The Modern Tech Stack: Data Analytics in the Cloud for Developers and Founders
The Modern Tech Stack: Data Analytics in the Cloud for Developers and FoundersThe Modern Tech Stack: Data Analytics in the Cloud for Developers and Founders
The Modern Tech Stack: Data Analytics in the Cloud for Developers and FoundersAggregage
 
Tulip Managed Unified Communication Solutions
Tulip Managed Unified Communication SolutionsTulip Managed Unified Communication Solutions
Tulip Managed Unified Communication SolutionsSujoy Mukherjee
 
What is API - Understanding API Simplified
What is API - Understanding API SimplifiedWhat is API - Understanding API Simplified
What is API - Understanding API SimplifiedJubin Aghara
 
CTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video WorkflowsCTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video WorkflowsAmazon Web Services
 
2nd AMIMOTO: WordPress + Amazon Web Services Singapore
2nd AMIMOTO: WordPress + Amazon Web Services Singapore2nd AMIMOTO: WordPress + Amazon Web Services Singapore
2nd AMIMOTO: WordPress + Amazon Web Services SingaporeKel
 
Amazon Webservice & Cloud Computing
Amazon Webservice & Cloud ComputingAmazon Webservice & Cloud Computing
Amazon Webservice & Cloud ComputingJack Smith
 
Rebaca's Video Delivery Expertise Overview
Rebaca's Video Delivery Expertise OverviewRebaca's Video Delivery Expertise Overview
Rebaca's Video Delivery Expertise OverviewArshad Mahmood
 
Amazon Alexa: How to talk with your Smart Home devices
Amazon Alexa:  How to talk with your Smart Home devicesAmazon Alexa:  How to talk with your Smart Home devices
Amazon Alexa: How to talk with your Smart Home devicesRoman Tsypuk
 

Similar to (MBL310) Alexa Voice Service Under the Hood (20)

Voice Assistants Beyond Smart Speakers - Integrate Alexa into Your Unique Pro...
Voice Assistants Beyond Smart Speakers - Integrate Alexa into Your Unique Pro...Voice Assistants Beyond Smart Speakers - Integrate Alexa into Your Unique Pro...
Voice Assistants Beyond Smart Speakers - Integrate Alexa into Your Unique Pro...
 
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
 
Tutorial adaptive-streaming
Tutorial adaptive-streamingTutorial adaptive-streaming
Tutorial adaptive-streaming
 
AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...
AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...
AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...
 
AWS Media and Entertainment Cloud Symposium: Broadcast and OTT
AWS Media and Entertainment Cloud Symposium:  Broadcast and OTTAWS Media and Entertainment Cloud Symposium:  Broadcast and OTT
AWS Media and Entertainment Cloud Symposium: Broadcast and OTT
 
iNTRODUCTION TO AWS IOT
iNTRODUCTION TO AWS IOTiNTRODUCTION TO AWS IOT
iNTRODUCTION TO AWS IOT
 
Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017
Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017
Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017
 
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
Integrating Video in Mobile Apps and Websites - MBL308 - re:Invent 2017
 
Alexa for Device Makers: Create Products with Alexa Built-In Using AVS (ALX30...
Alexa for Device Makers: Create Products with Alexa Built-In Using AVS (ALX30...Alexa for Device Makers: Create Products with Alexa Built-In Using AVS (ALX30...
Alexa for Device Makers: Create Products with Alexa Built-In Using AVS (ALX30...
 
Fiat eco:Drive
Fiat eco:DriveFiat eco:Drive
Fiat eco:Drive
 
Building a Bank with Go
Building a Bank with GoBuilding a Bank with Go
Building a Bank with Go
 
The Modern Tech Stack: Data Analytics in the Cloud for Developers and Founders
The Modern Tech Stack: Data Analytics in the Cloud for Developers and FoundersThe Modern Tech Stack: Data Analytics in the Cloud for Developers and Founders
The Modern Tech Stack: Data Analytics in the Cloud for Developers and Founders
 
Tulip Managed Unified Communication Solutions
Tulip Managed Unified Communication SolutionsTulip Managed Unified Communication Solutions
Tulip Managed Unified Communication Solutions
 
What is API - Understanding API Simplified
What is API - Understanding API SimplifiedWhat is API - Understanding API Simplified
What is API - Understanding API Simplified
 
CTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video WorkflowsCTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video Workflows
 
2nd AMIMOTO: WordPress + Amazon Web Services Singapore
2nd AMIMOTO: WordPress + Amazon Web Services Singapore2nd AMIMOTO: WordPress + Amazon Web Services Singapore
2nd AMIMOTO: WordPress + Amazon Web Services Singapore
 
Introduction to SOAP
Introduction to SOAPIntroduction to SOAP
Introduction to SOAP
 
Amazon Webservice & Cloud Computing
Amazon Webservice & Cloud ComputingAmazon Webservice & Cloud Computing
Amazon Webservice & Cloud Computing
 
Rebaca's Video Delivery Expertise Overview
Rebaca's Video Delivery Expertise OverviewRebaca's Video Delivery Expertise Overview
Rebaca's Video Delivery Expertise Overview
 
Amazon Alexa: How to talk with your Smart Home devices
Amazon Alexa:  How to talk with your Smart Home devicesAmazon Alexa:  How to talk with your Smart Home devices
Amazon Alexa: How to talk with your Smart Home devices
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Recently uploaded

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Recently uploaded (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

(MBL310) Alexa Voice Service Under the Hood

  • 1. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Donn Morrill - Sr. Manager, Solutions Architecture, Amazon Alexa Frederic Deramat - Sr. Principal Engineer, Amazon Alexa Stephen Chien – Senior Advanced Technology Engineer, BMW October 2015 MBL310 Alexa Voice Service Under the Hood
  • 2. Agenda • Echo demo • What is AVS? • AVS walkthrough • AVS tips and tricks • Alexa under the hood • Alexa in action - BMW
  • 4. What is ASK? The Alexa Skills Kit (ASK) is a collection of self-service APIs, tools, documentation, and code samples that make it fast and easy for you to add skills to Alexa. Using ASK, you can teach new skills to Alexa in just a few hours.
  • 5. Alexa companion app • Register a device • View and manage actions • Link third-party accounts • View lists • And much more
  • 8. Basic AVS request 1) Create an HTTP request 2) Collect the audio and send the request • Use “Transfer-Encoding: Chunked” for streaming the request or set “Content-Length” for sending prerecorded audio • Avoid storing the audio 3) Parse the response 4) Handle each directive
  • 9. Basic AVS request: Write HTTP headers POST /v1/avs/speechrecognizer/recognize HTTP/1.1 Host: access-alexa-na.amazon.com Authorization: Bearer {ACCESS TOKEN}  From auth flow Content-Type: multipart/form-data; boundary={BOUNDARY TERM} Transfer-Encoding: chunked OR Content-Length: {LENGTH}
  • 10. Basic AVS request: Send the audio --{BOUNDARY TERM} Content-Disposition: form-data; name="request" Content-Type: application/json; charset=UTF-8 "messageBody": { "profile": "alexa-close-talk",  Speech model "locale": "en-us", "format": "audio/L16; rate=16000; channels=1" } --{BOUNDARY TERM} Content-Disposition: form-data; name="audio" Content-Type: audio/L16; rate=16000; channels=1 {ENCODED AUDIO}  16 bit linear PCM at 16 kHz
  • 11. Basic AVS request: Parse the response HTTP/1.1 200 OK Content-Type: multipart/related; boundary={BOUNDARY TERM} --{BOUNDARY TERM} Content-Type: application/json; charset=UTF-8 { "messageHeader": {}, "messageBody": { "directives": [ { "namespace": “{AudioPlayer | SpeechSynthesizer}", "name": “{DIRECTIVE}", "payload" : { --{BOUNDARY TERM} Content-Disposition: form-data; name="audio" Content-Type: audio/mpeg Content-ID: {CONTENT ID} {ENCODED AUDIO DATA}  If directive is speak, play this back to the user
  • 12. AVS response directives Directive Meaning clearQueue Clear the playback queue listen Multi-turn interaction - listen for more audio play Play a streaming URL speak Speak the Alexa response to the user stop Stop streaming playback
  • 13. Streaming events Event Meaning metadataAvailable Metadata associated with the selection in the audio player playbackError Audio player has experienced an issue during playback playbackFinished Audio player has completed playback playbackIdle Audio player has reached the end of the playlist playbackInterrupted Audio player has been interrupted playbackProgressReport Current state of the audio player playbackStarted Audio player has started playing
  • 15. AVS interfaces Interface Directives Events SpeechRecognizer onSpeech onTimeout SpeechSynthesizer speak ask AudioPlayer play stop onPlaybackStarted onPlaybackFinished onPlaybackNearlyFinished Speaker setVolume onVolumeChange
  • 20. Close-talk vs. far-field Protocol Client Components HTTP REST HTTP REST Bidirectional async Endpointer Communications Communications Beamforming Echo cancellation Wakeword Bidirectional async 1 2 3 4
  • 21. Endpoint and protocol independence
  • 22. AVS best practices • Stream • Decouple up and down channels • Decouple protocol • Adopt event-driven patterns
  • 33. SMART AGENTS FOR BMW DRIVERS. BMW Group Technology Office USA. Stephen Chien
  • 34. THE AUTOMOTIVE INDUSTRY WILL UNDERGO MASSIVE CHANGES IN THE NEXT 10 YEARS. SUSTAINABILITY DIGITALIZATION CARS ARE POWERED BY ELECTRICITY CO2 SUSTAINABILITY HAS GAINED GREATER SIGNIFICANCE VEHICLES ARE DRIVING ALMOST ACCIDENT-FREE MOBILITY CONCEPTS LIKE CAR- SHARING ARE WIDELY AVAILABLE VEHICLES BECOME PART OF THE DIGITAL ECOSYSTEM HUMAN-MACHINE INTERFACES BECOME MORE INTUITIVE
  • 35. BMW i – THE NEXT GENERATION OF A CONNECTED CAR. Wearable Integration Smart TV Integration Smartphone Integration
  • 36. PERSONAL SMART AGENTS FOR BMW DRIVERS. • Smart agents are everywhere in life. • Natural way to interact with your vehicle. • Easy for users to understand and use. • A smart agent that knows about you and your vehicle.
  • 37. PROTOTYPING AN ALEXA SKILL FOR BMW i. Leveraging Amazon’s developer platform. • Built on AWS technology. • ASK and AVS provide a seamless user experience. • ASK and AVS provide open platforms. BMW skill features. • Request vehicle status through Alexa. • Execute vehicle commands through Alexa.
  • 38. BMW i SKILL DEMO.
  • 39. Thank you! Drawing winners announced: http://bit.ly/appstoregiveaway