SlideShare a Scribd company logo
1 of 20
Download to read offline
Katarzyna Kurzyńska-Madej
@akateeerin
Alexa, say hi!
Intro to Alexa for
developers
Concepts & Good
Practices
Alexa,
What is the meaning of life?
44 is a good approximation
Alexa Skill Kit
speech input
speech output
request
response
Language Model Logic
Alexa,
What is the meaning of life?
44 is a good approximation
Alexa Skill Kit
speech input
speech output
request
response
Language Model Logic
Design first!
+ = Fun!
“Alexa, tell Time Tracker
to start billing Upside
for software development”
StartTrackingIntent
“Alexa, tell Time Tracker
to stop billing”
intent
utterance
slots
what user wants
what user says
params
Alexa, tell Time Tracker to
Start billing Upside
Problem: not complete information
Dialog model
Alexa, tell Time Tracker to
Start billing Upside
What task would you
like to bill?
Software development
Ok, I started billing Upside
for software development
Maintaining language model
Check out ASK Toolkit!
Voice interfaces are flat
I’ve put my knight on field B8.

What would you like to do?
Ok, I’m wondering

where my rook was…
State
Machine
Is
Probably
Bad
Idea
What is your name?
Grzegorz Brzęczyszczykiewicz
Dynamic data is difficult
Alexa,
What is the meaning of life?
44 is a good approximation
Alexa Skill Kit
speech input
speech output
request
response
Language Model Logic
Alexa, open Time Tracker
Start billing Upside
for software development
Alexa, stop
Launch Request
Intent Request
Session Ended Request
Warning: Dialog
Model
State Management?
We’ve got session!
{
  "version": "1.0",
  "session": {
    "new": true,
    "sessionId": "amzn1.echo-api.session.[unique-value-here]",
    "application": {
      "applicationId": "amzn1.ask.skill.[unique-value-here]"
    },
"attributes": {
      "key": "string value"
    },
"user": {
      "userId": "amzn1.ask.account.[unique-value-here]",
      "accessToken": "Atza|AAAAAAAA...",
      "permissions": {
        "consentToken": "ZZZZZZZ..."
      }
}
},
"context": {
    "System": {
      "device": {
        "deviceId": "string",
        "supportedInterfaces": {
          "AudioPlayer": {}
}
},
"application": {
        "applicationId": "amzn1.ask.skill.[unique-value-here]"
      },
"user": {
        "userId": "amzn1.ask.account.[unique-value-here]",
        "accessToken": "Atza|AAAAAAAA...",
        "permissions": {
          "consentToken": "ZZZZZZZ..."
        }
},
"apiEndpoint": "https://api.amazonalexa.com",
"apiAccessToken": "AxThk..."
},
"AudioPlayer": {
      "playerActivity": "PLAYING",
      "token": "audioplayer-token",
      "offsetInMilliseconds": 0
    }
},
"request": {}
}
Testing
ASK Toolkit!
Deployment
Certification Required
Check submission checklist!
Follow us:
@UpsideLab
@CreateForVoice
www.upsidelab.io
we build for voice

More Related Content

Similar to Alexa, say hi! Intro to Alexa for developers

Starting a Fresh Conversation with AI and the Bots
Starting a Fresh Conversation with AI and the BotsStarting a Fresh Conversation with AI and the Bots
Starting a Fresh Conversation with AI and the BotsAcquia
 
Marcel Pociot "Alexa, let's build a voice-powered app"
Marcel Pociot "Alexa, let's build a voice-powered app"Marcel Pociot "Alexa, let's build a voice-powered app"
Marcel Pociot "Alexa, let's build a voice-powered app"Fwdays
 
Amazon alexa - building custom skills
Amazon alexa - building custom skillsAmazon alexa - building custom skills
Amazon alexa - building custom skillsAniruddha Chakrabarti
 
Alexa bootcamp - Skill building 101
Alexa bootcamp - Skill building 101Alexa bootcamp - Skill building 101
Alexa bootcamp - Skill building 101Amazon Web Services
 
Alexa workshop - Women Who Code, Bangalore 23 Jan 2019
Alexa workshop - Women Who Code, Bangalore 23 Jan 2019Alexa workshop - Women Who Code, Bangalore 23 Jan 2019
Alexa workshop - Women Who Code, Bangalore 23 Jan 2019Suneet Patil
 
Hackster DFW - Amazon Echo Workshop
Hackster DFW - Amazon Echo WorkshopHackster DFW - Amazon Echo Workshop
Hackster DFW - Amazon Echo WorkshopRon Dagdag
 
What Devs Need to Know about Amazon Alexa Skills
What Devs Need to Know about Amazon Alexa SkillsWhat Devs Need to Know about Amazon Alexa Skills
What Devs Need to Know about Amazon Alexa SkillsAI Leadership Institute
 
Creating IoT Solutions with Serverless Architecture & Alexa
Creating IoT Solutions with Serverless Architecture & AlexaCreating IoT Solutions with Serverless Architecture & Alexa
Creating IoT Solutions with Serverless Architecture & AlexaAmazon Web Services
 
WKS403 Build an Alexa Skill using AWS Lambda
WKS403 Build an Alexa Skill using AWS Lambda WKS403 Build an Alexa Skill using AWS Lambda
WKS403 Build an Alexa Skill using AWS Lambda Amazon Web Services
 
Developing Amazon Alexa Skills with the Go Programming Language
Developing Amazon Alexa Skills with the Go Programming LanguageDeveloping Amazon Alexa Skills with the Go Programming Language
Developing Amazon Alexa Skills with the Go Programming LanguageNic Raboy
 
Voice enable all the things with Alexa
Voice enable all the things with AlexaVoice enable all the things with Alexa
Voice enable all the things with AlexaMark Bate
 
Building Amazon Alexa custom Skill step by step
Building Amazon Alexa custom Skill step by stepBuilding Amazon Alexa custom Skill step by step
Building Amazon Alexa custom Skill step by stepStamo Petkov
 
Hey alexa, let's build an alexa skill using nodejs
Hey alexa, let's build an alexa skill using nodejsHey alexa, let's build an alexa skill using nodejs
Hey alexa, let's build an alexa skill using nodejsMukul Jain
 
Noelle LaCharite: What Brands need to know about Building for Voice
Noelle LaCharite: What Brands need to know about Building for VoiceNoelle LaCharite: What Brands need to know about Building for Voice
Noelle LaCharite: What Brands need to know about Building for VoiceAI Leadership Institute
 
AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Ama...
AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Ama...AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Ama...
AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Ama...Amazon Web Services
 
Introduction to Knowledge Graphs with Grakn and Graql
Introduction to Knowledge Graphs with Grakn and Graql Introduction to Knowledge Graphs with Grakn and Graql
Introduction to Knowledge Graphs with Grakn and Graql Vaticle
 
Building custom skills with Amazon Alexa
Building custom skills with Amazon AlexaBuilding custom skills with Amazon Alexa
Building custom skills with Amazon AlexaBrian Perera
 
Applying Alexa’s Natural Language to Your Challenges - ALX326 - re:Invent 2017
Applying Alexa’s Natural Language to Your Challenges - ALX326 - re:Invent 2017Applying Alexa’s Natural Language to Your Challenges - ALX326 - re:Invent 2017
Applying Alexa’s Natural Language to Your Challenges - ALX326 - re:Invent 2017Amazon Web Services
 

Similar to Alexa, say hi! Intro to Alexa for developers (20)

Amazon Alexa Working
Amazon Alexa Working Amazon Alexa Working
Amazon Alexa Working
 
Starting a Fresh Conversation with AI and the Bots
Starting a Fresh Conversation with AI and the BotsStarting a Fresh Conversation with AI and the Bots
Starting a Fresh Conversation with AI and the Bots
 
Marcel Pociot "Alexa, let's build a voice-powered app"
Marcel Pociot "Alexa, let's build a voice-powered app"Marcel Pociot "Alexa, let's build a voice-powered app"
Marcel Pociot "Alexa, let's build a voice-powered app"
 
Amazon alexa - building custom skills
Amazon alexa - building custom skillsAmazon alexa - building custom skills
Amazon alexa - building custom skills
 
Alexa bootcamp - Skill building 101
Alexa bootcamp - Skill building 101Alexa bootcamp - Skill building 101
Alexa bootcamp - Skill building 101
 
Alexa workshop - Women Who Code, Bangalore 23 Jan 2019
Alexa workshop - Women Who Code, Bangalore 23 Jan 2019Alexa workshop - Women Who Code, Bangalore 23 Jan 2019
Alexa workshop - Women Who Code, Bangalore 23 Jan 2019
 
Hackster DFW - Amazon Echo Workshop
Hackster DFW - Amazon Echo WorkshopHackster DFW - Amazon Echo Workshop
Hackster DFW - Amazon Echo Workshop
 
What Devs Need to Know about Amazon Alexa Skills
What Devs Need to Know about Amazon Alexa SkillsWhat Devs Need to Know about Amazon Alexa Skills
What Devs Need to Know about Amazon Alexa Skills
 
Creating IoT Solutions with Serverless Architecture & Alexa
Creating IoT Solutions with Serverless Architecture & AlexaCreating IoT Solutions with Serverless Architecture & Alexa
Creating IoT Solutions with Serverless Architecture & Alexa
 
WKS403 Build an Alexa Skill using AWS Lambda
WKS403 Build an Alexa Skill using AWS Lambda WKS403 Build an Alexa Skill using AWS Lambda
WKS403 Build an Alexa Skill using AWS Lambda
 
Alexa for Developers
Alexa for DevelopersAlexa for Developers
Alexa for Developers
 
Developing Amazon Alexa Skills with the Go Programming Language
Developing Amazon Alexa Skills with the Go Programming LanguageDeveloping Amazon Alexa Skills with the Go Programming Language
Developing Amazon Alexa Skills with the Go Programming Language
 
Voice enable all the things with Alexa
Voice enable all the things with AlexaVoice enable all the things with Alexa
Voice enable all the things with Alexa
 
Building Amazon Alexa custom Skill step by step
Building Amazon Alexa custom Skill step by stepBuilding Amazon Alexa custom Skill step by step
Building Amazon Alexa custom Skill step by step
 
Hey alexa, let's build an alexa skill using nodejs
Hey alexa, let's build an alexa skill using nodejsHey alexa, let's build an alexa skill using nodejs
Hey alexa, let's build an alexa skill using nodejs
 
Noelle LaCharite: What Brands need to know about Building for Voice
Noelle LaCharite: What Brands need to know about Building for VoiceNoelle LaCharite: What Brands need to know about Building for Voice
Noelle LaCharite: What Brands need to know about Building for Voice
 
AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Ama...
AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Ama...AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Ama...
AWS re:Invent 2016: How Capital One Built a Voice-Based Banking Skill for Ama...
 
Introduction to Knowledge Graphs with Grakn and Graql
Introduction to Knowledge Graphs with Grakn and Graql Introduction to Knowledge Graphs with Grakn and Graql
Introduction to Knowledge Graphs with Grakn and Graql
 
Building custom skills with Amazon Alexa
Building custom skills with Amazon AlexaBuilding custom skills with Amazon Alexa
Building custom skills with Amazon Alexa
 
Applying Alexa’s Natural Language to Your Challenges - ALX326 - re:Invent 2017
Applying Alexa’s Natural Language to Your Challenges - ALX326 - re:Invent 2017Applying Alexa’s Natural Language to Your Challenges - ALX326 - re:Invent 2017
Applying Alexa’s Natural Language to Your Challenges - ALX326 - re:Invent 2017
 

Recently uploaded

Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 

Recently uploaded (20)

Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 

Alexa, say hi! Intro to Alexa for developers

  • 1. Katarzyna Kurzyńska-Madej @akateeerin Alexa, say hi! Intro to Alexa for developers
  • 3. Alexa, What is the meaning of life? 44 is a good approximation Alexa Skill Kit speech input speech output request response Language Model Logic
  • 4. Alexa, What is the meaning of life? 44 is a good approximation Alexa Skill Kit speech input speech output request response Language Model Logic
  • 7. “Alexa, tell Time Tracker to start billing Upside for software development” StartTrackingIntent “Alexa, tell Time Tracker to stop billing” intent utterance slots what user wants what user says params
  • 8. Alexa, tell Time Tracker to Start billing Upside Problem: not complete information
  • 9. Dialog model Alexa, tell Time Tracker to Start billing Upside What task would you like to bill? Software development Ok, I started billing Upside for software development
  • 11. Voice interfaces are flat I’ve put my knight on field B8.
 What would you like to do? Ok, I’m wondering
 where my rook was…
  • 13. What is your name? Grzegorz Brzęczyszczykiewicz Dynamic data is difficult
  • 14. Alexa, What is the meaning of life? 44 is a good approximation Alexa Skill Kit speech input speech output request response Language Model Logic
  • 15. Alexa, open Time Tracker Start billing Upside for software development Alexa, stop Launch Request Intent Request Session Ended Request Warning: Dialog Model
  • 16. State Management? We’ve got session! {   "version": "1.0",   "session": {     "new": true,     "sessionId": "amzn1.echo-api.session.[unique-value-here]",     "application": {       "applicationId": "amzn1.ask.skill.[unique-value-here]"     }, "attributes": {       "key": "string value"     }, "user": {       "userId": "amzn1.ask.account.[unique-value-here]",       "accessToken": "Atza|AAAAAAAA...",       "permissions": {         "consentToken": "ZZZZZZZ..."       } } }, "context": {     "System": {       "device": {         "deviceId": "string",         "supportedInterfaces": {           "AudioPlayer": {} } }, "application": {         "applicationId": "amzn1.ask.skill.[unique-value-here]"       }, "user": {         "userId": "amzn1.ask.account.[unique-value-here]",         "accessToken": "Atza|AAAAAAAA...",         "permissions": {           "consentToken": "ZZZZZZZ..."         } }, "apiEndpoint": "https://api.amazonalexa.com", "apiAccessToken": "AxThk..." }, "AudioPlayer": {       "playerActivity": "PLAYING",       "token": "audioplayer-token",       "offsetInMilliseconds": 0     } }, "request": {} }