SlideShare uma empresa Scribd logo
1 de 50
Baixar para ler offline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS re:INVENT
ALX 401: CONVERSATION
AND MEMORY
A L X 4 0 1 : A D V A N C E D S K I L L S
J U S T I N J E F F R E S S @ S L E E P Y D E V E L O P E R
F R A N K L I N L O B B @ F R A N K L I N L O B B
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CONVERSATION AND MEMORY
D I A L O G M A N A G E M E N T
E N T I T Y R E S O L U T I O N
M E M O R Y M A N A G E M E N T
A L X 4 0 1 A D V A N C E D A L E X A S K I L L B U I L D I N G :
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1 9 7 0 s 1 9 8 0 s 1 9 9 0 s P R E S E N T2 0 0 0 s
Character Mode
GUI
Web
Mobile
VUI
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CONVERSATION
ALEXA SKILLS KIT
Request
Audio
Visual
Speech Recognition
Machine Learning
Natural Language Understanding
Text to speech
Response
Your
Service
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VISUAL ELEMENTS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
UTTERANCES, INTENTS & SLOTS
Find me a pet.
Find me a dog.
I’d like a dog for my family that’s big and high energy.
I want a dog that’s tiny, low energy to guard my
house.
Intents
PetMatchIntent
AMAZON.CancelIntent
AMAZON.HelpIntent
AMAZON.StopIntent
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
UTTERANCES, INTENTS & SLOTS
Find me a pet.
Find me a dog.
I’d like a dog for my family that’s big and high energy.
I want a dog that’s tiny, low energy to guard my
house.
Intents
PetMatchIntent
AMAZON.CancelIntent
AMAZON.HelpIntent
AMAZON.StopIntent
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SLOTS
{size}
tiny
small
medium
large
I want a that’s energy, for my,{pet}
dog
{energy}
low
med
high
{temperament}
family
guard
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SLOTS
{size}
tiny
small
medium
large
{pet}
dog
{energy}
low
med
high
{temperament}
family
guard
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SLOTS
{size}
tiny
small
medium
large
I want a that’s energy, for my,{pet}
dog
{energy}
low
med
high
{temperament}
family
guard
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SLOTS
{size}
tiny
small
medium
large
I want a that’s energy, for my,{pet}
dog
{energy}
low
med
high
{temperament}
family
guard
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ONE SHOT INVOCATION
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ONE SHOT INVOCATION
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
USE CONVERSATION
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
USE CONVERSATION
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EVERYONE IS HAPPY
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
LET’S BUILD A SKILL THAT USES IT
alexa.design/petmatch-lab-1
Don’t have a device? You can test using echosim.io
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WHAT DID I ACCOMPLISH?
Created a skill
Created an AWS Lambda Function
Used Dialog Management
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CONVERSATION AND MEMORY
DIALOG MANAGEMENT
ENTITY RESOLUTION
MEMORY MANAGEMENT
A L X 4 0 1 A D V A N C E D A L E X A S K I L L B U I L D I N G :
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
I want a small dog I want a tiny dog I want a little dog
MANY WAYS TO SAY THE SAME THING
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SYNONYMS
{size} Synonyms
tiny little
small little, petite
medium medium size, average
large huge, gigantic
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
COMPLEX SYNONYMS
{energy} Synonyms
high high energy, energetic, play fetch, go
hiking, hike, run, play frisbee, that I
can run with
med plays tug of war, tug of war, fun to
play with, for my apartment
low lazy, to watch Amazon Video with, to
cuddle with
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WHAT HAPPENS UPON A MATCH?
"slots": {
"size": {
"value": "huge",
"resolutions": {
"resolutionsPerAuthority": [ {
"status": {
"code": "ER_SUCCESS_MATCH”},
"values": [{
"value": {
"name": "large"
}
}],
…
{size}
tiny
small
medium
large
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CONVERSATION
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EASE OF PROGRAMMING
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
THIRD PARTY API REQUIREMENTS
{team} Synonyms
LAD Dodgers, Trolley Dodgers, Greatest Team Ever
…
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
THIRD PARTY API REQUIREMENTS
{team} Synonyms
LAD Dodgers, Trolley Dodgers, Greatest Team Ever
SF Giants, Team that every Dodger fan hates
HOU Astros, Houston, Houston Astros, Losers, Bums
…
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SYNONYMS
{size} Synonyms
tiny little
small little, petite
medium medium size, average
large huge, gigantic
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ENTITY RESOLUTION – MULTIPLE
"slots": {
"size": {
"value": "little",
"resolutions": {
"resolutionsPerAuthority": [ {
"status": {
"code": "ER_SUCCESS_MATCH"},
"values": [{
"value": {
"name": "tiny”
},
"value": {
"name": "small”
}}] …
{size}
tiny
small
medium
large
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SLOT VALIDATION
{pet} Synonyms
dog puppy, pooch
mythical_creatures dragon, unicorn, chimera
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WHAT IF THE USER SAYS DRAGON?
"slots": {
"pet": {
"value": "dragon",
"resolutions": {
"resolutionsPerAuthority": [ {
"status": {
"code": "ER_SUCCESS_MATCH"},
"values": [{
"value": {
"name": "mythical_creatures"
}
}]
…
{pet} Synonyms
dog puppy, …
mythical_creatures dragon, unicorn, …
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WHAT ABOUT NO MATCH? - PIZZA
"slots": {
"size": {
"value": "pizza",
"resolutions": {
"resolutionsPerAuthority": [ {
"status": {
"code": "ER_SUCCESS_NO_MATCH"},
"values": [],
…
{size} Synonyms
tiny little
small little, petite
… …
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WHAT ABOUT NO MATCH? - ITTY BITTY
"slots": {
"size": {
"value": "itty bitty",
"resolutions": {
"resolutionsPerAuthority": [ {
"status": {
"code": "ER_SUCCESS_NO_MATCH"},
"values": [],
…
{size} Synonyms
tiny little
small little, petite
… …
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
LET’S ADD ENTITY RESOLUTION TO OUR
SKILL
alexa.design/petmatch-lab-2
Synonyms
Disambiguation
Slot Validation
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WHAT DID I ACCOMPLISH?
Synonyms
Disambiguation
Slot Validation
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CONVERSATION AND MEMORY
D I A L O G M A N A G E M E N T
E N T I T Y R E S O L U T I O N
M E M O R Y M A N A G E M E N T
A L X 4 0 1 A D V A N C E D A L E X A S K I L L B U I L D I N G :
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
MEMORY
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
JUST KIDDING
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CONTENT DISTINCTION
Skill Data User Data
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CONTENT DISTINCTION
Skill Data User Data
• The data your skill needs
• Level data
• Prompts
• Media assets
• User specific
• Progress
• High score
• Preferences
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SKILL MEMORY
Skill Lambda Pet API
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SKILL MEMORY
S3
Skill Lambda Pet API
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
PERSISTING USER MEMORY
DynamoDB
Skill Lambda Pet API
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ADD PERSISTENCE TO PET MATCH
alexa.design/petmatch-lab-3
Skill Lambda Pet API
S3 DynamoDB
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WHAT DID I ACCOMPLISH?
Web Service Calls
User Specific Memory
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SUMMARY
• Dialog Management
• Delegate Slot Elicitation
• Entity Resolution
• Synonyms
• Disambiguation (DM + ER)
• Slot Validation
• Memory Management
• Web Service Calls
• Persistence
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WHAT NEXT?
Keep designing for voice
Learn more about AWS Services
Make it your own and publish it
Attend more sessions at re:Invent
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
alexa.design/guide alexa.design/standout alexa.design/officehours alexa.design/devrewards
RESOURCES
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
THANK YOU!
J U S T I N J E F F R E S S @ S L E E P Y D E V E L O P E R
A L X 4 0 1 : A D V A N C E D S K I L L C O N V E R S AT I O N A N D M E M O R Y
F R A N K L I N L O B B @ F R A N K L I N L O B B

Mais conteúdo relacionado

Mais procurados

MCL206-Creating Next Generation Speech-Enabled Applications with Amazon Polly
MCL206-Creating Next Generation Speech-Enabled Applications with Amazon PollyMCL206-Creating Next Generation Speech-Enabled Applications with Amazon Polly
MCL206-Creating Next Generation Speech-Enabled Applications with Amazon PollyAmazon Web Services
 
WPS205_Is AWS GovCloud Right for your Regulated Workload
WPS205_Is AWS GovCloud Right for your Regulated WorkloadWPS205_Is AWS GovCloud Right for your Regulated Workload
WPS205_Is AWS GovCloud Right for your Regulated WorkloadAmazon Web Services
 
DVC304_Compliance and Top Security Threats in the Cloud—Are You Protected
DVC304_Compliance and Top Security Threats in the Cloud—Are You ProtectedDVC304_Compliance and Top Security Threats in the Cloud—Are You Protected
DVC304_Compliance and Top Security Threats in the Cloud—Are You ProtectedAmazon Web Services
 
ARC210_Building Scalable Multi-Tenant Email Sending Programs
ARC210_Building Scalable Multi-Tenant Email Sending ProgramsARC210_Building Scalable Multi-Tenant Email Sending Programs
ARC210_Building Scalable Multi-Tenant Email Sending ProgramsAmazon Web Services
 
Journey Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million UsersJourney Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million UsersAdrian Hornsby
 
SID202_Deep Dive on How Capital One Automates the Delivery of Directory Servi...
SID202_Deep Dive on How Capital One Automates the Delivery of Directory Servi...SID202_Deep Dive on How Capital One Automates the Delivery of Directory Servi...
SID202_Deep Dive on How Capital One Automates the Delivery of Directory Servi...Amazon Web Services
 
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdfWPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdfAmazon Web Services
 
GPSTEC309-SaaS Monitoring Creating a Unified View of Multitenant Health featu...
GPSTEC309-SaaS Monitoring Creating a Unified View of Multitenant Health featu...GPSTEC309-SaaS Monitoring Creating a Unified View of Multitenant Health featu...
GPSTEC309-SaaS Monitoring Creating a Unified View of Multitenant Health featu...Amazon Web Services
 
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Amazon Web Services
 
Building the Largest Repo for Serverless Compliance-as-Code - SID205 - re:Inv...
Building the Largest Repo for Serverless Compliance-as-Code - SID205 - re:Inv...Building the Largest Repo for Serverless Compliance-as-Code - SID205 - re:Inv...
Building the Largest Repo for Serverless Compliance-as-Code - SID205 - re:Inv...Amazon Web Services
 
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...Amazon Web Services
 
NEW LAUNCH! Deep dive on Amazon Neptune - DAT318 - re:Invent 2017
NEW LAUNCH! Deep dive on Amazon Neptune - DAT318 - re:Invent 2017NEW LAUNCH! Deep dive on Amazon Neptune - DAT318 - re:Invent 2017
NEW LAUNCH! Deep dive on Amazon Neptune - DAT318 - re:Invent 2017Amazon Web Services
 
CTD403_Supercharge Your Websites with the Power of Lambda@Edge
CTD403_Supercharge Your Websites with the Power of Lambda@EdgeCTD403_Supercharge Your Websites with the Power of Lambda@Edge
CTD403_Supercharge Your Websites with the Power of Lambda@EdgeAmazon Web Services
 
SRV213-Thirty Serverless Architectures in 30 Minutes
SRV213-Thirty Serverless Architectures in 30 MinutesSRV213-Thirty Serverless Architectures in 30 Minutes
SRV213-Thirty Serverless Architectures in 30 MinutesAmazon Web Services
 
GPSBUS204_Building a Profitable Next Generation AWS MSP Practice
GPSBUS204_Building a Profitable Next Generation AWS MSP PracticeGPSBUS204_Building a Profitable Next Generation AWS MSP Practice
GPSBUS204_Building a Profitable Next Generation AWS MSP PracticeAmazon Web Services
 
Building Best Practices and the Right Foundation for your 1st Production Work...
Building Best Practices and the Right Foundation for your 1st Production Work...Building Best Practices and the Right Foundation for your 1st Production Work...
Building Best Practices and the Right Foundation for your 1st Production Work...Amazon Web Services
 
WIN204-Simplifying Microsoft Architectures with AWS Services
WIN204-Simplifying Microsoft Architectures with AWS ServicesWIN204-Simplifying Microsoft Architectures with AWS Services
WIN204-Simplifying Microsoft Architectures with AWS ServicesAmazon Web Services
 
Patterns and Considerations in Service Discovery - Con327 - re:Invent 2017
Patterns and Considerations in Service Discovery - Con327 - re:Invent 2017Patterns and Considerations in Service Discovery - Con327 - re:Invent 2017
Patterns and Considerations in Service Discovery - Con327 - re:Invent 2017Amazon Web Services
 
IOT308-One Message to a Million Things Done in 60 seconds with AWS IoT
IOT308-One Message to a Million Things Done in 60 seconds with AWS IoTIOT308-One Message to a Million Things Done in 60 seconds with AWS IoT
IOT308-One Message to a Million Things Done in 60 seconds with AWS IoTAmazon Web Services
 

Mais procurados (20)

MCL206-Creating Next Generation Speech-Enabled Applications with Amazon Polly
MCL206-Creating Next Generation Speech-Enabled Applications with Amazon PollyMCL206-Creating Next Generation Speech-Enabled Applications with Amazon Polly
MCL206-Creating Next Generation Speech-Enabled Applications with Amazon Polly
 
WPS205_Is AWS GovCloud Right for your Regulated Workload
WPS205_Is AWS GovCloud Right for your Regulated WorkloadWPS205_Is AWS GovCloud Right for your Regulated Workload
WPS205_Is AWS GovCloud Right for your Regulated Workload
 
DVC304_Compliance and Top Security Threats in the Cloud—Are You Protected
DVC304_Compliance and Top Security Threats in the Cloud—Are You ProtectedDVC304_Compliance and Top Security Threats in the Cloud—Are You Protected
DVC304_Compliance and Top Security Threats in the Cloud—Are You Protected
 
ARC210_Building Scalable Multi-Tenant Email Sending Programs
ARC210_Building Scalable Multi-Tenant Email Sending ProgramsARC210_Building Scalable Multi-Tenant Email Sending Programs
ARC210_Building Scalable Multi-Tenant Email Sending Programs
 
Journey Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million UsersJourney Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million Users
 
SID202_Deep Dive on How Capital One Automates the Delivery of Directory Servi...
SID202_Deep Dive on How Capital One Automates the Delivery of Directory Servi...SID202_Deep Dive on How Capital One Automates the Delivery of Directory Servi...
SID202_Deep Dive on How Capital One Automates the Delivery of Directory Servi...
 
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdfWPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
 
GPSTEC309-SaaS Monitoring Creating a Unified View of Multitenant Health featu...
GPSTEC309-SaaS Monitoring Creating a Unified View of Multitenant Health featu...GPSTEC309-SaaS Monitoring Creating a Unified View of Multitenant Health featu...
GPSTEC309-SaaS Monitoring Creating a Unified View of Multitenant Health featu...
 
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
 
Building the Largest Repo for Serverless Compliance-as-Code - SID205 - re:Inv...
Building the Largest Repo for Serverless Compliance-as-Code - SID205 - re:Inv...Building the Largest Repo for Serverless Compliance-as-Code - SID205 - re:Inv...
Building the Largest Repo for Serverless Compliance-as-Code - SID205 - re:Inv...
 
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
Become a Serverless Black Belt: Optimizing Your Serverless Applications - SRV...
 
NEW LAUNCH! Deep dive on Amazon Neptune - DAT318 - re:Invent 2017
NEW LAUNCH! Deep dive on Amazon Neptune - DAT318 - re:Invent 2017NEW LAUNCH! Deep dive on Amazon Neptune - DAT318 - re:Invent 2017
NEW LAUNCH! Deep dive on Amazon Neptune - DAT318 - re:Invent 2017
 
CTD403_Supercharge Your Websites with the Power of Lambda@Edge
CTD403_Supercharge Your Websites with the Power of Lambda@EdgeCTD403_Supercharge Your Websites with the Power of Lambda@Edge
CTD403_Supercharge Your Websites with the Power of Lambda@Edge
 
DVC202_The Open Guide to AWS
DVC202_The Open Guide to AWSDVC202_The Open Guide to AWS
DVC202_The Open Guide to AWS
 
SRV213-Thirty Serverless Architectures in 30 Minutes
SRV213-Thirty Serverless Architectures in 30 MinutesSRV213-Thirty Serverless Architectures in 30 Minutes
SRV213-Thirty Serverless Architectures in 30 Minutes
 
GPSBUS204_Building a Profitable Next Generation AWS MSP Practice
GPSBUS204_Building a Profitable Next Generation AWS MSP PracticeGPSBUS204_Building a Profitable Next Generation AWS MSP Practice
GPSBUS204_Building a Profitable Next Generation AWS MSP Practice
 
Building Best Practices and the Right Foundation for your 1st Production Work...
Building Best Practices and the Right Foundation for your 1st Production Work...Building Best Practices and the Right Foundation for your 1st Production Work...
Building Best Practices and the Right Foundation for your 1st Production Work...
 
WIN204-Simplifying Microsoft Architectures with AWS Services
WIN204-Simplifying Microsoft Architectures with AWS ServicesWIN204-Simplifying Microsoft Architectures with AWS Services
WIN204-Simplifying Microsoft Architectures with AWS Services
 
Patterns and Considerations in Service Discovery - Con327 - re:Invent 2017
Patterns and Considerations in Service Discovery - Con327 - re:Invent 2017Patterns and Considerations in Service Discovery - Con327 - re:Invent 2017
Patterns and Considerations in Service Discovery - Con327 - re:Invent 2017
 
IOT308-One Message to a Million Things Done in 60 seconds with AWS IoT
IOT308-One Message to a Million Things Done in 60 seconds with AWS IoTIOT308-One Message to a Million Things Done in 60 seconds with AWS IoT
IOT308-One Message to a Million Things Done in 60 seconds with AWS IoT
 

Semelhante a ALX401-Advanced Alexa Skill Building Conversation and Memory

Conversation and Memory - ALX401-R - re:Invent 2017
Conversation and Memory - ALX401-R - re:Invent 2017Conversation and Memory - ALX401-R - re:Invent 2017
Conversation and Memory - ALX401-R - re:Invent 2017Amazon Web Services
 
Ai Services on AWS - AWS IL Meetup
Ai Services on AWS - AWS IL MeetupAi Services on AWS - AWS IL Meetup
Ai Services on AWS - AWS IL MeetupBoaz Ziniman
 
Innovations and The Cloud
Innovations and The CloudInnovations and The Cloud
Innovations and The CloudAdrian Hornsby
 
AI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLMAI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLMBoaz Ziniman
 
AI and Machine Learning - AWS Public Sector Summit Singapore 2017
AI and Machine Learning - AWS Public Sector Summit Singapore 2017AI and Machine Learning - AWS Public Sector Summit Singapore 2017
AI and Machine Learning - AWS Public Sector Summit Singapore 2017Amazon Web Services
 
ABD302_Real-Time Data Exploration and Analytics with Amazon Elasticsearch Ser...
ABD302_Real-Time Data Exploration and Analytics with Amazon Elasticsearch Ser...ABD302_Real-Time Data Exploration and Analytics with Amazon Elasticsearch Ser...
ABD302_Real-Time Data Exploration and Analytics with Amazon Elasticsearch Ser...Amazon Web Services
 
Innovations and the Cloud
Innovations and the CloudInnovations and the Cloud
Innovations and the CloudAdrian Hornsby
 
AI and Machine Learning Services
AI and Machine Learning ServicesAI and Machine Learning Services
AI and Machine Learning ServicesAmazon Web Services
 
HLC309_The American Heart Association and How to Build a Secure and Collabora...
HLC309_The American Heart Association and How to Build a Secure and Collabora...HLC309_The American Heart Association and How to Build a Secure and Collabora...
HLC309_The American Heart Association and How to Build a Secure and Collabora...Amazon Web Services
 
Adding a Sumerian Host to Your Scene
Adding a Sumerian Host to Your SceneAdding a Sumerian Host to Your Scene
Adding a Sumerian Host to Your SceneAmazon Web Services
 
Natural Language Processing Plus Natural Language Generation: The Cutting Edg...
Natural Language Processing Plus Natural Language Generation: The Cutting Edg...Natural Language Processing Plus Natural Language Generation: The Cutting Edg...
Natural Language Processing Plus Natural Language Generation: The Cutting Edg...Amazon Web Services
 
AWS 機器學習 I ─ 人工智慧 AI
AWS 機器學習 I ─ 人工智慧 AIAWS 機器學習 I ─ 人工智慧 AI
AWS 機器學習 I ─ 人工智慧 AIAmazon Web Services
 
Building the Organisation of the Future: Leveraging Artificial Intelligence a...
Building the Organisation of the Future: Leveraging Artificial Intelligence a...Building the Organisation of the Future: Leveraging Artificial Intelligence a...
Building the Organisation of the Future: Leveraging Artificial Intelligence a...Amazon Web Services
 
Launch Applications the Amazon Way - AWS Online Tech Talks
Launch Applications the Amazon Way - AWS Online Tech TalksLaunch Applications the Amazon Way - AWS Online Tech Talks
Launch Applications the Amazon Way - AWS Online Tech TalksAmazon Web Services
 
10 Lessons from 10 Years of AWS
10 Lessons from 10 Years of AWS10 Lessons from 10 Years of AWS
10 Lessons from 10 Years of AWSAdrian Hornsby
 
NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...
NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...
NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...Amazon Web Services
 

Semelhante a ALX401-Advanced Alexa Skill Building Conversation and Memory (20)

Conversation and Memory - ALX401-R - re:Invent 2017
Conversation and Memory - ALX401-R - re:Invent 2017Conversation and Memory - ALX401-R - re:Invent 2017
Conversation and Memory - ALX401-R - re:Invent 2017
 
Ai Services on AWS - AWS IL Meetup
Ai Services on AWS - AWS IL MeetupAi Services on AWS - AWS IL Meetup
Ai Services on AWS - AWS IL Meetup
 
Innovations and The Cloud
Innovations and The CloudInnovations and The Cloud
Innovations and The Cloud
 
AI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLMAI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLM
 
AI and Machine Learning - AWS Public Sector Summit Singapore 2017
AI and Machine Learning - AWS Public Sector Summit Singapore 2017AI and Machine Learning - AWS Public Sector Summit Singapore 2017
AI and Machine Learning - AWS Public Sector Summit Singapore 2017
 
Intro to Amazon AI Services
Intro to Amazon AI ServicesIntro to Amazon AI Services
Intro to Amazon AI Services
 
AWSome Day Utrecht - Keynote
AWSome Day Utrecht - KeynoteAWSome Day Utrecht - Keynote
AWSome Day Utrecht - Keynote
 
AI: State of the Union
AI: State of the UnionAI: State of the Union
AI: State of the Union
 
AI & Deep Learning At Amazon
AI & Deep Learning At AmazonAI & Deep Learning At Amazon
AI & Deep Learning At Amazon
 
ABD302_Real-Time Data Exploration and Analytics with Amazon Elasticsearch Ser...
ABD302_Real-Time Data Exploration and Analytics with Amazon Elasticsearch Ser...ABD302_Real-Time Data Exploration and Analytics with Amazon Elasticsearch Ser...
ABD302_Real-Time Data Exploration and Analytics with Amazon Elasticsearch Ser...
 
Innovations and the Cloud
Innovations and the CloudInnovations and the Cloud
Innovations and the Cloud
 
AI and Machine Learning Services
AI and Machine Learning ServicesAI and Machine Learning Services
AI and Machine Learning Services
 
HLC309_The American Heart Association and How to Build a Secure and Collabora...
HLC309_The American Heart Association and How to Build a Secure and Collabora...HLC309_The American Heart Association and How to Build a Secure and Collabora...
HLC309_The American Heart Association and How to Build a Secure and Collabora...
 
Adding a Sumerian Host to Your Scene
Adding a Sumerian Host to Your SceneAdding a Sumerian Host to Your Scene
Adding a Sumerian Host to Your Scene
 
Natural Language Processing Plus Natural Language Generation: The Cutting Edg...
Natural Language Processing Plus Natural Language Generation: The Cutting Edg...Natural Language Processing Plus Natural Language Generation: The Cutting Edg...
Natural Language Processing Plus Natural Language Generation: The Cutting Edg...
 
AWS 機器學習 I ─ 人工智慧 AI
AWS 機器學習 I ─ 人工智慧 AIAWS 機器學習 I ─ 人工智慧 AI
AWS 機器學習 I ─ 人工智慧 AI
 
Building the Organisation of the Future: Leveraging Artificial Intelligence a...
Building the Organisation of the Future: Leveraging Artificial Intelligence a...Building the Organisation of the Future: Leveraging Artificial Intelligence a...
Building the Organisation of the Future: Leveraging Artificial Intelligence a...
 
Launch Applications the Amazon Way - AWS Online Tech Talks
Launch Applications the Amazon Way - AWS Online Tech TalksLaunch Applications the Amazon Way - AWS Online Tech Talks
Launch Applications the Amazon Way - AWS Online Tech Talks
 
10 Lessons from 10 Years of AWS
10 Lessons from 10 Years of AWS10 Lessons from 10 Years of AWS
10 Lessons from 10 Years of AWS
 
NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...
NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...
NEW LAUNCH! Driving Dynamically Animated Characters in VR/AR Applications Usi...
 

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

Mais 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
 

ALX401-Advanced Alexa Skill Building Conversation and Memory

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS re:INVENT ALX 401: CONVERSATION AND MEMORY A L X 4 0 1 : A D V A N C E D S K I L L S J U S T I N J E F F R E S S @ S L E E P Y D E V E L O P E R F R A N K L I N L O B B @ F R A N K L I N L O B B
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CONVERSATION AND MEMORY D I A L O G M A N A G E M E N T E N T I T Y R E S O L U T I O N M E M O R Y M A N A G E M E N T A L X 4 0 1 A D V A N C E D A L E X A S K I L L B U I L D I N G :
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1 9 7 0 s 1 9 8 0 s 1 9 9 0 s P R E S E N T2 0 0 0 s Character Mode GUI Web Mobile VUI
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CONVERSATION
  • 5. ALEXA SKILLS KIT Request Audio Visual Speech Recognition Machine Learning Natural Language Understanding Text to speech Response Your Service
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VISUAL ELEMENTS
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. UTTERANCES, INTENTS & SLOTS Find me a pet. Find me a dog. I’d like a dog for my family that’s big and high energy. I want a dog that’s tiny, low energy to guard my house. Intents PetMatchIntent AMAZON.CancelIntent AMAZON.HelpIntent AMAZON.StopIntent
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. UTTERANCES, INTENTS & SLOTS Find me a pet. Find me a dog. I’d like a dog for my family that’s big and high energy. I want a dog that’s tiny, low energy to guard my house. Intents PetMatchIntent AMAZON.CancelIntent AMAZON.HelpIntent AMAZON.StopIntent
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SLOTS {size} tiny small medium large I want a that’s energy, for my,{pet} dog {energy} low med high {temperament} family guard
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SLOTS {size} tiny small medium large {pet} dog {energy} low med high {temperament} family guard
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SLOTS {size} tiny small medium large I want a that’s energy, for my,{pet} dog {energy} low med high {temperament} family guard
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SLOTS {size} tiny small medium large I want a that’s energy, for my,{pet} dog {energy} low med high {temperament} family guard
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ONE SHOT INVOCATION
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ONE SHOT INVOCATION
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. USE CONVERSATION
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. USE CONVERSATION
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EVERYONE IS HAPPY
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. LET’S BUILD A SKILL THAT USES IT alexa.design/petmatch-lab-1 Don’t have a device? You can test using echosim.io
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WHAT DID I ACCOMPLISH? Created a skill Created an AWS Lambda Function Used Dialog Management
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CONVERSATION AND MEMORY DIALOG MANAGEMENT ENTITY RESOLUTION MEMORY MANAGEMENT A L X 4 0 1 A D V A N C E D A L E X A S K I L L B U I L D I N G :
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. I want a small dog I want a tiny dog I want a little dog MANY WAYS TO SAY THE SAME THING
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SYNONYMS {size} Synonyms tiny little small little, petite medium medium size, average large huge, gigantic
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. COMPLEX SYNONYMS {energy} Synonyms high high energy, energetic, play fetch, go hiking, hike, run, play frisbee, that I can run with med plays tug of war, tug of war, fun to play with, for my apartment low lazy, to watch Amazon Video with, to cuddle with
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WHAT HAPPENS UPON A MATCH? "slots": { "size": { "value": "huge", "resolutions": { "resolutionsPerAuthority": [ { "status": { "code": "ER_SUCCESS_MATCH”}, "values": [{ "value": { "name": "large" } }], … {size} tiny small medium large
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CONVERSATION
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EASE OF PROGRAMMING
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. THIRD PARTY API REQUIREMENTS {team} Synonyms LAD Dodgers, Trolley Dodgers, Greatest Team Ever …
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. THIRD PARTY API REQUIREMENTS {team} Synonyms LAD Dodgers, Trolley Dodgers, Greatest Team Ever SF Giants, Team that every Dodger fan hates HOU Astros, Houston, Houston Astros, Losers, Bums …
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SYNONYMS {size} Synonyms tiny little small little, petite medium medium size, average large huge, gigantic
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ENTITY RESOLUTION – MULTIPLE "slots": { "size": { "value": "little", "resolutions": { "resolutionsPerAuthority": [ { "status": { "code": "ER_SUCCESS_MATCH"}, "values": [{ "value": { "name": "tiny” }, "value": { "name": "small” }}] … {size} tiny small medium large
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SLOT VALIDATION {pet} Synonyms dog puppy, pooch mythical_creatures dragon, unicorn, chimera
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WHAT IF THE USER SAYS DRAGON? "slots": { "pet": { "value": "dragon", "resolutions": { "resolutionsPerAuthority": [ { "status": { "code": "ER_SUCCESS_MATCH"}, "values": [{ "value": { "name": "mythical_creatures" } }] … {pet} Synonyms dog puppy, … mythical_creatures dragon, unicorn, …
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WHAT ABOUT NO MATCH? - PIZZA "slots": { "size": { "value": "pizza", "resolutions": { "resolutionsPerAuthority": [ { "status": { "code": "ER_SUCCESS_NO_MATCH"}, "values": [], … {size} Synonyms tiny little small little, petite … …
  • 34. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WHAT ABOUT NO MATCH? - ITTY BITTY "slots": { "size": { "value": "itty bitty", "resolutions": { "resolutionsPerAuthority": [ { "status": { "code": "ER_SUCCESS_NO_MATCH"}, "values": [], … {size} Synonyms tiny little small little, petite … …
  • 35. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. LET’S ADD ENTITY RESOLUTION TO OUR SKILL alexa.design/petmatch-lab-2 Synonyms Disambiguation Slot Validation
  • 36. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WHAT DID I ACCOMPLISH? Synonyms Disambiguation Slot Validation
  • 37. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CONVERSATION AND MEMORY D I A L O G M A N A G E M E N T E N T I T Y R E S O L U T I O N M E M O R Y M A N A G E M E N T A L X 4 0 1 A D V A N C E D A L E X A S K I L L B U I L D I N G :
  • 38. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. MEMORY
  • 39. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. JUST KIDDING
  • 40. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CONTENT DISTINCTION Skill Data User Data
  • 41. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CONTENT DISTINCTION Skill Data User Data • The data your skill needs • Level data • Prompts • Media assets • User specific • Progress • High score • Preferences
  • 42. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SKILL MEMORY Skill Lambda Pet API
  • 43. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SKILL MEMORY S3 Skill Lambda Pet API
  • 44. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. PERSISTING USER MEMORY DynamoDB Skill Lambda Pet API
  • 45. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ADD PERSISTENCE TO PET MATCH alexa.design/petmatch-lab-3 Skill Lambda Pet API S3 DynamoDB
  • 46. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WHAT DID I ACCOMPLISH? Web Service Calls User Specific Memory
  • 47. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SUMMARY • Dialog Management • Delegate Slot Elicitation • Entity Resolution • Synonyms • Disambiguation (DM + ER) • Slot Validation • Memory Management • Web Service Calls • Persistence
  • 48. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WHAT NEXT? Keep designing for voice Learn more about AWS Services Make it your own and publish it Attend more sessions at re:Invent
  • 49. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. alexa.design/guide alexa.design/standout alexa.design/officehours alexa.design/devrewards RESOURCES
  • 50. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. THANK YOU! J U S T I N J E F F R E S S @ S L E E P Y D E V E L O P E R A L X 4 0 1 : A D V A N C E D S K I L L C O N V E R S AT I O N A N D M E M O R Y F R A N K L I N L O B B @ F R A N K L I N L O B B