SlideShare une entreprise Scribd logo
1  sur  30
Télécharger pour lire hors ligne
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Nov 29, 2016
ALX203- Creating Voice Experiences
with Alexa Skills- From Idea to
Testing in Two Hours
@alexadevs
Welcome
Before we code
1. developer.amazon.com
2. aws.amazon.com
3. Check-in for the training:
• Bit.ly/alexacheckin – event name #Re:Invent
Today’s agenda
• Skill building fundamentals
• Voice User-Interface
• Advanced skill building
• Idea Challenge
70s 80s 90s 00s Present
mode
GUI
web
mobile
character
VUI
Skill Building Fundamentals
Before we code
1. developer.amazon.com
2. aws.amazon.com
3. Check-in for the training:
• Bit.ly/alexacheckin – event name #Re:Invent
8
The Alexa Service
Alexa
Skills
Kit
Alexa
Voice
Services
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
9
Alexa Skills Kit: Processing a request
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Audio
Request
Response
Your
service
Speech Recognition
Machine Learning
Natural Language Understanding
Text to Speech
Cards
10© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cards
Alexa Skills Kit: Utterances and Intents
Response
Your
service
Audio
Speech Recognition
Machine Learning
Natural Language Understanding
Text to Speech
Request
Intents
Utterances
ASR – Automatic Speech
Recognition
fȯr tē tīmz
• Forty Times?
• For Tea Times?
• For Tee Times?
• Four Tee Times?
Alexa, ask Anime Facts for a fact
wake word utteranceskill namelaunch
Utterances and Intents
One more please
utterance
Utterances and Intents
Alexa, ask Anime Facts for a fact
wake word utteranceskill namelaunch
GetFactIntent
Intent
utterance slot value
Utterances and Intents
One more please
utterance
Alexa, ask Anime Facts for a fact
wake word utteranceskill namelaunch
15© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Audio
Speech Recognition
Machine Learning
Natural Language Understanding
Text to Speech
Cards
Alexa Skills Kit: Requests and Responses
Request
Response
Your
service
16
Alexa Skills Kit: Request and Response
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“Help”
17
Using Lambda for Processing the
Request & generating the response
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
18
Time to code: Build a fact of the day skill
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
developer.amazon.com
Skill information
Interaction model
End to end testing
aws.amazon.com
Skill logic
Lambda
Lamdba testing
Check in for the event:
Bit.ly/alexacheckin – event name #Re:Invent
Break
Next up:
Advanced VUI topics
Local Search Skill
@alexadevs
AnswerIntent {value: “one”}
slot valueIntent
one is the answer
slot value
Slots in the utterances
The answer is one
slot value
one
slot value
21
Utterances and Intent Schema
Utterances Intent Schema
22
Utterances and Intent Schema
Utterances Intent Schema
23
Built-in and Custom Slot Types
24
Session Attributes
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
25
Session Persistence
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
exports.handler = function (event, context, callback) {
var alexa = Alexa.handler(event, context);
alexa.appId = appId;
alexa.dynamoDBTableName = 'YourTableName'; // That's it!
alexa.registerHandlers(State1Handlers, State2Handlers);
alexa.execute();
};
this.attributes['yourAttribute'] = 'value';
var yourVariable = this.attributes['yourAttribute']
Add dynamoDB
table name in
your index.js
put
get
26
State Management
Define states
Event handlers
for “Trivia” state
Event handlers
for “Help” state
27
Time to code: Build a local search skill
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
developer.amazon.com
Skill information
Interaction model
End to end testing
aws.amazon.com
Skill logic
Lambda
Lamdba testing
Check in for the event:
Bit.ly/alexacheckin – event name #Re:Invent
Break
Next up:
Idea challenge
@alexadevs
Idea Challenge
1. Logistics
2. Rules
1. You have 30 seconds to pitch your BIG idea to the room We
don’t need a fully defined idea. We want your idea pitched in
the form of an Alexa conversation.
For example:
“Alexa, how much milk do we have left?”
“Alexa, what time will UPS arrive today?”
“Alexa, send me a list of backpacks that fit my laptop.”
“Alexa, delete my browser history.”
3. Prizes
1. The winner will receive $300 in AWS Credits
Thank you!
@alexadevs
Bit.ly/alexacheckin – event name #Re:Invent

Contenu connexe

Tendances

Tendances (20)

AWS re:Invent 2016: bots + serverless = ❤ (SVR304)
AWS re:Invent 2016: bots + serverless = ❤ (SVR304)AWS re:Invent 2016: bots + serverless = ❤ (SVR304)
AWS re:Invent 2016: bots + serverless = ❤ (SVR304)
 
Getting Started with AWS Lambda & Serverless Computing
Getting Started with AWS Lambda & Serverless ComputingGetting Started with AWS Lambda & Serverless Computing
Getting Started with AWS Lambda & Serverless Computing
 
SRV209 Introducing Amazon Connect: Create an Amazon Scale Cloud Contact Cent...
SRV209  Introducing Amazon Connect: Create an Amazon Scale Cloud Contact Cent...SRV209  Introducing Amazon Connect: Create an Amazon Scale Cloud Contact Cent...
SRV209 Introducing Amazon Connect: Create an Amazon Scale Cloud Contact Cent...
 
BDA306 NEW LAUNCH! An Introduction to Amazon Lex, your service for building v...
BDA306 NEW LAUNCH! An Introduction to Amazon Lex, your service for building v...BDA306 NEW LAUNCH! An Introduction to Amazon Lex, your service for building v...
BDA306 NEW LAUNCH! An Introduction to Amazon Lex, your service for building v...
 
BDA310 An Introduction to the AI services at AWS
BDA310 An Introduction to the AI services at AWSBDA310 An Introduction to the AI services at AWS
BDA310 An Introduction to the AI services at AWS
 
A Brief Look at Serverless Architecture
A Brief Look at Serverless ArchitectureA Brief Look at Serverless Architecture
A Brief Look at Serverless Architecture
 
雲端媒體串流
雲端媒體串流雲端媒體串流
雲端媒體串流
 
AWS Serverless Development
AWS Serverless DevelopmentAWS Serverless Development
AWS Serverless Development
 
AWS re:Invent 2016: Operating Your Production API (SVR402)
AWS re:Invent 2016: Operating Your Production API (SVR402)AWS re:Invent 2016: Operating Your Production API (SVR402)
AWS re:Invent 2016: Operating Your Production API (SVR402)
 
AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa an...
AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa an...AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa an...
AWS re:Invent 2016: Voice-enabling Your Home and Devices with Amazon Alexa an...
 
Amazon AI: soluzioni di intelligenza artificiale pronte per l'uso
Amazon AI: soluzioni di intelligenza artificiale pronte per l'usoAmazon AI: soluzioni di intelligenza artificiale pronte per l'uso
Amazon AI: soluzioni di intelligenza artificiale pronte per l'uso
 
AWS re:Invent 2016: All Your Chats are Belong to Bots: Building a Serverless ...
AWS re:Invent 2016: All Your Chats are Belong to Bots: Building a Serverless ...AWS re:Invent 2016: All Your Chats are Belong to Bots: Building a Serverless ...
AWS re:Invent 2016: All Your Chats are Belong to Bots: Building a Serverless ...
 
Keynote 1: AWS re:Invent 2017 Recap - Solutions Overview
Keynote 1: AWS re:Invent 2017 Recap - Solutions OverviewKeynote 1: AWS re:Invent 2017 Recap - Solutions Overview
Keynote 1: AWS re:Invent 2017 Recap - Solutions Overview
 
Introduction to AWS Step Functions
Introduction to AWS Step FunctionsIntroduction to AWS Step Functions
Introduction to AWS Step Functions
 
Build a Server-less Event-driven Backend with AWS Lambda and Amazon API Gateway
Build a Server-less Event-driven Backend with AWS Lambda and Amazon API GatewayBuild a Server-less Event-driven Backend with AWS Lambda and Amazon API Gateway
Build a Server-less Event-driven Backend with AWS Lambda and Amazon API Gateway
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
10 Tips For Serverless Backends With NodeJS and AWS Lambda
10 Tips For Serverless Backends With NodeJS and AWS Lambda10 Tips For Serverless Backends With NodeJS and AWS Lambda
10 Tips For Serverless Backends With NodeJS and AWS Lambda
 
Building ChatBots with Amazon Lex - AWS Summit Tel Aviv 2017
Building ChatBots with Amazon Lex - AWS Summit Tel Aviv 2017Building ChatBots with Amazon Lex - AWS Summit Tel Aviv 2017
Building ChatBots with Amazon Lex - AWS Summit Tel Aviv 2017
 
Getting Started with Serverless Apps
Getting Started with Serverless AppsGetting Started with Serverless Apps
Getting Started with Serverless Apps
 
Serverless computing with AWS Lambda
Serverless computing with AWS Lambda Serverless computing with AWS Lambda
Serverless computing with AWS Lambda
 

Similaire à AWS re:Invent 2016: Workshop: Creating Voice Experiences with Alexa Skills: From Idea to Testing in Two Hours (ALX203)

Similaire à AWS re:Invent 2016: Workshop: Creating Voice Experiences with Alexa Skills: From Idea to Testing in Two Hours (ALX203) (20)

Design Patterns for Developers - Technical 201
Design Patterns for Developers - Technical 201Design Patterns for Developers - Technical 201
Design Patterns for Developers - Technical 201
 
Design Patterns for Developers - Technical 201
Design Patterns for Developers - Technical 201Design Patterns for Developers - Technical 201
Design Patterns for Developers - Technical 201
 
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
 
Digital Muse “Girl Tech Fest - AWS Alexa Skills Coding Workshop
Digital Muse “Girl Tech Fest - AWS Alexa Skills Coding WorkshopDigital Muse “Girl Tech Fest - AWS Alexa Skills Coding Workshop
Digital Muse “Girl Tech Fest - AWS Alexa Skills Coding Workshop
 
ALX315_Test Automation for Alexa Skills
ALX315_Test Automation for Alexa SkillsALX315_Test Automation for Alexa Skills
ALX315_Test Automation for Alexa Skills
 
Chicago AWS Solutions Architect Mehdy Haghy recaps the new AI/ML releases and...
Chicago AWS Solutions Architect Mehdy Haghy recaps the new AI/ML releases and...Chicago AWS Solutions Architect Mehdy Haghy recaps the new AI/ML releases and...
Chicago AWS Solutions Architect Mehdy Haghy recaps the new AI/ML releases and...
 
Maximising the Customer Experience with Amazon Connect and AI Services
Maximising the Customer Experience with Amazon Connect and AI ServicesMaximising the Customer Experience with Amazon Connect and AI Services
Maximising the Customer Experience with Amazon Connect and AI Services
 
How LEGO.com Accelerates With Serverless
How LEGO.com Accelerates With ServerlessHow LEGO.com Accelerates With Serverless
How LEGO.com Accelerates With Serverless
 
Serve Your Customers with AI from the Cloud: AWS Developer Workshop - Web Sum...
Serve Your Customers with AI from the Cloud: AWS Developer Workshop - Web Sum...Serve Your Customers with AI from the Cloud: AWS Developer Workshop - Web Sum...
Serve Your Customers with AI from the Cloud: AWS Developer Workshop - Web Sum...
 
Intro to AWS Cloud Development Kit | AWS Floor28
Intro to AWS Cloud Development Kit | AWS Floor28Intro to AWS Cloud Development Kit | AWS Floor28
Intro to AWS Cloud Development Kit | AWS Floor28
 
AWS Webinar - Learn how and why to build conversational chatbots
AWS Webinar - Learn how and why to build conversational chatbots AWS Webinar - Learn how and why to build conversational chatbots
AWS Webinar - Learn how and why to build conversational chatbots
 
Bring the Power of AI to Your Amazon Connect Contact Center (BAP322-R1) - AWS...
Bring the Power of AI to Your Amazon Connect Contact Center (BAP322-R1) - AWS...Bring the Power of AI to Your Amazon Connect Contact Center (BAP322-R1) - AWS...
Bring the Power of AI to Your Amazon Connect Contact Center (BAP322-R1) - AWS...
 
Serverless Beyond Functions - CTO Club Made in JLM
Serverless Beyond Functions - CTO Club Made in JLMServerless Beyond Functions - CTO Club Made in JLM
Serverless Beyond Functions - CTO Club Made in JLM
 
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
 
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
 
Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...
Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...
Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...
 
Big Data and Alexa_Voice-Enabled Analytics
Big Data and Alexa_Voice-Enabled Analytics Big Data and Alexa_Voice-Enabled Analytics
Big Data and Alexa_Voice-Enabled Analytics
 
Lex and connect
Lex and connectLex and connect
Lex and connect
 
Automate Your Alexa Lambda Function Deployment Workflows Using AWS CodeCommit...
Automate Your Alexa Lambda Function Deployment Workflows Using AWS CodeCommit...Automate Your Alexa Lambda Function Deployment Workflows Using AWS CodeCommit...
Automate Your Alexa Lambda Function Deployment Workflows Using AWS CodeCommit...
 
CI/CD with AWS Developer Tools and Fargate
CI/CD with AWS Developer Tools and FargateCI/CD with AWS Developer Tools and Fargate
CI/CD with AWS Developer Tools and Fargate
 

Plus de Amazon 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 AWS
Amazon 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 Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon 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
 

Plus de 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
 

Dernier

+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...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
+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...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
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...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

AWS re:Invent 2016: Workshop: Creating Voice Experiences with Alexa Skills: From Idea to Testing in Two Hours (ALX203)

  • 1. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Nov 29, 2016 ALX203- Creating Voice Experiences with Alexa Skills- From Idea to Testing in Two Hours @alexadevs
  • 2. Welcome Before we code 1. developer.amazon.com 2. aws.amazon.com 3. Check-in for the training: • Bit.ly/alexacheckin – event name #Re:Invent
  • 3. Today’s agenda • Skill building fundamentals • Voice User-Interface • Advanced skill building • Idea Challenge
  • 4. 70s 80s 90s 00s Present mode GUI web mobile character VUI
  • 5.
  • 6.
  • 7. Skill Building Fundamentals Before we code 1. developer.amazon.com 2. aws.amazon.com 3. Check-in for the training: • Bit.ly/alexacheckin – event name #Re:Invent
  • 8. 8 The Alexa Service Alexa Skills Kit Alexa Voice Services © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 9. 9 Alexa Skills Kit: Processing a request © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Audio Request Response Your service Speech Recognition Machine Learning Natural Language Understanding Text to Speech Cards
  • 10. 10© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cards Alexa Skills Kit: Utterances and Intents Response Your service Audio Speech Recognition Machine Learning Natural Language Understanding Text to Speech Request Intents Utterances
  • 11. ASR – Automatic Speech Recognition fȯr tē tīmz • Forty Times? • For Tea Times? • For Tee Times? • Four Tee Times?
  • 12. Alexa, ask Anime Facts for a fact wake word utteranceskill namelaunch Utterances and Intents
  • 13. One more please utterance Utterances and Intents Alexa, ask Anime Facts for a fact wake word utteranceskill namelaunch
  • 14. GetFactIntent Intent utterance slot value Utterances and Intents One more please utterance Alexa, ask Anime Facts for a fact wake word utteranceskill namelaunch
  • 15. 15© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Audio Speech Recognition Machine Learning Natural Language Understanding Text to Speech Cards Alexa Skills Kit: Requests and Responses Request Response Your service
  • 16. 16 Alexa Skills Kit: Request and Response © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “Help”
  • 17. 17 Using Lambda for Processing the Request & generating the response © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 18. 18 Time to code: Build a fact of the day skill © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. developer.amazon.com Skill information Interaction model End to end testing aws.amazon.com Skill logic Lambda Lamdba testing Check in for the event: Bit.ly/alexacheckin – event name #Re:Invent
  • 19. Break Next up: Advanced VUI topics Local Search Skill @alexadevs
  • 20. AnswerIntent {value: “one”} slot valueIntent one is the answer slot value Slots in the utterances The answer is one slot value one slot value
  • 21. 21 Utterances and Intent Schema Utterances Intent Schema
  • 22. 22 Utterances and Intent Schema Utterances Intent Schema
  • 24. 24 Session Attributes © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 25. 25 Session Persistence © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. exports.handler = function (event, context, callback) { var alexa = Alexa.handler(event, context); alexa.appId = appId; alexa.dynamoDBTableName = 'YourTableName'; // That's it! alexa.registerHandlers(State1Handlers, State2Handlers); alexa.execute(); }; this.attributes['yourAttribute'] = 'value'; var yourVariable = this.attributes['yourAttribute'] Add dynamoDB table name in your index.js put get
  • 26. 26 State Management Define states Event handlers for “Trivia” state Event handlers for “Help” state
  • 27. 27 Time to code: Build a local search skill © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. developer.amazon.com Skill information Interaction model End to end testing aws.amazon.com Skill logic Lambda Lamdba testing Check in for the event: Bit.ly/alexacheckin – event name #Re:Invent
  • 29. Idea Challenge 1. Logistics 2. Rules 1. You have 30 seconds to pitch your BIG idea to the room We don’t need a fully defined idea. We want your idea pitched in the form of an Alexa conversation. For example: “Alexa, how much milk do we have left?” “Alexa, what time will UPS arrive today?” “Alexa, send me a list of backpacks that fit my laptop.” “Alexa, delete my browser history.” 3. Prizes 1. The winner will receive $300 in AWS Credits