SlideShare uma empresa Scribd logo
1 de 58
Baixar para ler offline
Create a Custom Skill
on the Amazon Echo
Emily Lam, DeveloperWeek 2/13/2017
About Me
u  Emily Lam
u  UCLA: Linguistics and specialization in Computing
u  Currently: Frontend developer at Lieberman Software
u  Skills published: 4
u  Hackathons won using Alexa: 3
u  Money 20/20 WorldPay
u  2nd Mojio Connected Car
u  1st GA + IBM Watson Workspace
Twitter: @hongily
https://liebsoft.com
Agenda
u  1. Walk you through how to create a basic trivia skill
u  2. Discuss In-depth Topics
u  Built-in and Custom slots
u  Account linking
u  SSML Tags
Sign into https://developer.amazon.com/
This is the same account that you use to sign into www.amazon.com. Don’t have an Amazon account? You can create one
after you click “Sign In”.
https://developer.amazon.com/
Click on Alexa
https://developer.amazon.com/
Click on Get Started > under the Alexa Skills Kit
https://developer.amazon.com/
Click on “Add a New Skill”
https://developer.amazon.com/
https://developer.amazon.com/
Skills Information
u  Skill Type
u  Custom Interaction Model: Gives you the most control over the user’s experience
and is the most flexible kind of skill you can build.
u  Smart Home Skill API: Great for building a skill with smart home devices
u  Flash Briefing Skill API: Easy for creating flash briefings/RSS feed
u  Language
u  You can choose English (U.S.), English (U.K.), or German
https://developer.amazon.com/
Skills Information
u  Name
u  Appears as the title in the Alexa app. Ex. Morning Dose App Name
u  Must be between 2-50 characters.
u  Invocation Name
u  The name you use to tell Alexa to open the skill. Ex. Morning Dose. See
Invocation Guidelines.
u  Global Fields
u  Audio Player for music related skills ie. Spotify
https://developer.amazon.com/
Interaction Model
u  Intent Schema: A JSON structure which declares the set of intents your service
can accept and process.
https://developer.amazon.com/
Interaction Model
u  Intent Schema: A JSON structure which declares the set of intents your service
can accept and process.
https://developer.amazon.com/
u  https://github.com/alexa/skill-sample-nodejs-trivia/tree/master/
speechAssets
Interaction Model
u  Custom Slots: Custom slot types to be referenced by the Intent Schema and
Sample Utterances
u  Sample Utterances: What you say to Alexa to trigger an intent
https://developer.amazon.com/
Configuration
Select AWS Lambda ARN (Amazon Resource Name) and then North America.
https://developer.amazon.com/
Go to https://aws.amazon.com
Sign in to the Console
https://aws.amazon.com/
Sign In or Create an AWS Account
https://aws.amazon.com/
Select US East (N. Virginia) for US skills and EU (Ireland) for UK/DE skills
These are the only two regions currently supported for Alexa skill development on AWS Lambda
https://aws.amazon.com/
Type in Lambda and select the Lambda option
https://aws.amazon.com/
Select Create a Lambda function
https://aws.amazon.com/
Type Alexa in the filter and then select
alexa-skill-kit-sdk-triviaskill
https://aws.amazon.com/
Click on the gray square
https://aws.amazon.com/
Select Alexa Skills Kit and then Next
https://aws.amazon.com/
Type in a function name
https://aws.amazon.com/
Function name must contain only letters, numbers, hyphens, or underscores.
Click on the dropdown menu and select Create a custom role
https://aws.amazon.com
Click on “Allow”
https://aws.amazon.com
Click on “Next”
https://aws.amazon.com
Click on “Create function”
https://aws.amazon.com
Click on “Test” and look at the execution result
https://aws.amazon.com
Click on “Actions and then “Export function”
https://aws.amazon.com
Click on “Download deployment package”
https://aws.amazon.com
Edit index.js and question.js
https://aws.amazon.com
Select the two files + node_modules and compress the 3 items.
https://aws.amazon.com
Upload Archive.zip
https://aws.amazon.com
Click Save and test
https://aws.amazon.com
Copy the ARN
https://aws.amazon.com
Paste the ARN in your skill at https://developer.amazon.com and
the select “Next”
https://developer.amazon.com
Select a Category and Subcategory if necessary
Then, write in testing instructions.
https://developer.amazon.com
Write a short description (160 character max.) about the skill
https://developer.amazon.com
Write a full description that will appear in the skill’s detail card
https://developer.amazon.com
Write up to three example phrases that appear as aids for users
when they see your skill’s detail card.
https://developer.amazon.com
Answer privacy related questions and export compliance
https://developer.amazon.com
Click “Submit for Certification” and you are done!
https://developer.amazon.com
In-depth Topics
u  Built-in and Custom slots
u  Account linking
u  SSML Tags
Built-in Slots and Custom Slots
Slots are arguments for intents.
A built-in slot type such as AMAZON.NUMBER converts numeric words (“five”) into
digits (such as “5”).
You can view all the built-in slots at:
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/
built-in-intent-ref/slot-type-reference
A custom slot type is used for items that are not covered by Amazon’s built-in set
of types.
Built-in Slots and Custom Slots
"intents": [
{
"intent": "ReportIntent",
"slots": [
{
"name": "Incident",
"type": "LIST_OF_INCIDENTS"
}]
}
You define the slot type in the Intent Schema.
Custom Slots
You create a slot type (ie LIST_OF_INCIDENTS) and then you write the
values.
Custom Slots
You reference the intent and slot name in the Sample Utterances
Custom Slots
You can use the value of the custom slot in your lambda code.
Account linking
You can link an external account to the Alexa.
Account linking
You create an application and link it to Alexa through the Alexa app.
Account linking
The client id and client secret are retrieved from the external account
Account linking
Account linking
Token: 59010bf8-4a29-4f59-8bd7-3a59ac383781
Redirects back to https://pitangui.amazon.com/api/skill/link/
M1PJIQE7PVNV1
Account linking
Token: 59010bf8-4a29-4f59-8bd7-3a59ac383781
Redirects back to https://pitangui.amazon.com/api/skill/link/
M1PJIQE7PVNV1
Account linking
A privacy policy is required for account linking. You also have to
disclose if you are collect users' personal information (ie email,
password, etc)
SSML Tags
Speech Synthesis Markup Language provides additional control over how Alexa
generates the speech text in your response.
Examples:
<say-as interpret-as="cardinal">12345</say-as> sounds like twelve thousand
three hundred forty five
<say-as interpret-as=”ordinal">12345</say-as> sounds like twelve thousand
three hundred forty fifth
<say-as interpret-as="spell-out">12345</say-as> sounds like one two three
four five
Reference:
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/
speech-synthesis-markup-language-ssml-reference#supported-ssml-tags
SSML Tags
Speech Synthesis Markup Language provides additional control over how Alexa
generates the speech text in your response.
Examples:
<say-as interpret-as="cardinal">12345</say-as> sounds like twelve thousand
three hundred forty five
<say-as interpret-as=”ordinal">12345</say-as> sounds like twelve thousand
three hundred forty fifth
<say-as interpret-as="spell-out">12345</say-as> sounds like one two three
four five
Reference:
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/
speech-synthesis-markup-language-ssml-reference#supported-ssml-tags
Thank you!
Questions?
Tweet me @hongily
Email me at emily@emilytlam.com

Mais conteúdo relacionado

Mais procurados

Sept2015Connected Car short
Sept2015Connected Car shortSept2015Connected Car short
Sept2015Connected Car shortLaurent Gibert
 
The Internet of Cars - Towards the Future of the Connected Car
The Internet of Cars - Towards the Future of the Connected CarThe Internet of Cars - Towards the Future of the Connected Car
The Internet of Cars - Towards the Future of the Connected CarJorgen Thelin
 
India’s ride hailers push for differentiated services
India’s ride hailers push for differentiated servicesIndia’s ride hailers push for differentiated services
India’s ride hailers push for differentiated serviceseTailing India
 
Startup InsurTech Award - Waypals
Startup InsurTech Award - WaypalsStartup InsurTech Award - Waypals
Startup InsurTech Award - WaypalsThe Digital Insurer
 
ASSIGNMENT ON OLA CAB ACQUIRES TAXI FOR SURE
ASSIGNMENT ON OLA CAB ACQUIRES TAXI FOR SUREASSIGNMENT ON OLA CAB ACQUIRES TAXI FOR SURE
ASSIGNMENT ON OLA CAB ACQUIRES TAXI FOR SURESankalp Katiyar
 
Business Model Canvas of Ola Cabs by Akshay Nahar
Business Model Canvas of Ola Cabs by Akshay NaharBusiness Model Canvas of Ola Cabs by Akshay Nahar
Business Model Canvas of Ola Cabs by Akshay NaharAkshay nahar
 
Radio taxi service providers in india
Radio taxi service providers in indiaRadio taxi service providers in india
Radio taxi service providers in indiaSocial Samosa
 
iPark presentation
iPark presentationiPark presentation
iPark presentationmontooshah
 
Virtual mechanic sep 2017 (c) ah innovations Final
Virtual mechanic sep 2017 (c) ah innovations FinalVirtual mechanic sep 2017 (c) ah innovations Final
Virtual mechanic sep 2017 (c) ah innovations FinalKrissi Boakye
 
IoT services in the automotive sector
IoT services in the automotive sectorIoT services in the automotive sector
IoT services in the automotive sectorPRIME
 
The Connected Vehicle: Viewing the Road Ahead
The Connected Vehicle: Viewing the Road AheadThe Connected Vehicle: Viewing the Road Ahead
The Connected Vehicle: Viewing the Road AheadAccenture Insurance
 
The Incrediable Car Technology That Will Drive The Future
The Incrediable Car Technology That Will Drive The FutureThe Incrediable Car Technology That Will Drive The Future
The Incrediable Car Technology That Will Drive The FutureHarmony Motor Works
 
Oracle Embedded Connected Vehicle
Oracle Embedded Connected VehicleOracle Embedded Connected Vehicle
Oracle Embedded Connected VehicleSteven Cull
 
Business Model Canvas - GoJek
Business Model Canvas - GoJekBusiness Model Canvas - GoJek
Business Model Canvas - GoJekEli Ermawati
 
Smart Taxi Presentation - Enter the future of taxi dispatch service
Smart Taxi Presentation - Enter the future of taxi dispatch serviceSmart Taxi Presentation - Enter the future of taxi dispatch service
Smart Taxi Presentation - Enter the future of taxi dispatch serviceSmart Taxi - Gruppo Biesse
 
Smart Cars Equipped With Futuristic & Practical Features
Smart Cars Equipped With Futuristic & Practical FeaturesSmart Cars Equipped With Futuristic & Practical Features
Smart Cars Equipped With Futuristic & Practical FeaturesHarmony Motor Works
 

Mais procurados (20)

Sept2015Connected Car short
Sept2015Connected Car shortSept2015Connected Car short
Sept2015Connected Car short
 
Olaapp
OlaappOlaapp
Olaapp
 
The Internet of Cars - Towards the Future of the Connected Car
The Internet of Cars - Towards the Future of the Connected CarThe Internet of Cars - Towards the Future of the Connected Car
The Internet of Cars - Towards the Future of the Connected Car
 
India’s ride hailers push for differentiated services
India’s ride hailers push for differentiated servicesIndia’s ride hailers push for differentiated services
India’s ride hailers push for differentiated services
 
How much does an app like ola cab cost
How much does an app like ola cab cost How much does an app like ola cab cost
How much does an app like ola cab cost
 
Startup InsurTech Award - Waypals
Startup InsurTech Award - WaypalsStartup InsurTech Award - Waypals
Startup InsurTech Award - Waypals
 
ASSIGNMENT ON OLA CAB ACQUIRES TAXI FOR SURE
ASSIGNMENT ON OLA CAB ACQUIRES TAXI FOR SUREASSIGNMENT ON OLA CAB ACQUIRES TAXI FOR SURE
ASSIGNMENT ON OLA CAB ACQUIRES TAXI FOR SURE
 
Business Model Canvas of Ola Cabs by Akshay Nahar
Business Model Canvas of Ola Cabs by Akshay NaharBusiness Model Canvas of Ola Cabs by Akshay Nahar
Business Model Canvas of Ola Cabs by Akshay Nahar
 
Radio taxi service providers in india
Radio taxi service providers in indiaRadio taxi service providers in india
Radio taxi service providers in india
 
iPark presentation
iPark presentationiPark presentation
iPark presentation
 
Virtual mechanic sep 2017 (c) ah innovations Final
Virtual mechanic sep 2017 (c) ah innovations FinalVirtual mechanic sep 2017 (c) ah innovations Final
Virtual mechanic sep 2017 (c) ah innovations Final
 
IoT services in the automotive sector
IoT services in the automotive sectorIoT services in the automotive sector
IoT services in the automotive sector
 
The Connected Vehicle: Viewing the Road Ahead
The Connected Vehicle: Viewing the Road AheadThe Connected Vehicle: Viewing the Road Ahead
The Connected Vehicle: Viewing the Road Ahead
 
Ola cabs
Ola cabsOla cabs
Ola cabs
 
The Incrediable Car Technology That Will Drive The Future
The Incrediable Car Technology That Will Drive The FutureThe Incrediable Car Technology That Will Drive The Future
The Incrediable Car Technology That Will Drive The Future
 
Ola cabs – riding on high
Ola cabs – riding on highOla cabs – riding on high
Ola cabs – riding on high
 
Oracle Embedded Connected Vehicle
Oracle Embedded Connected VehicleOracle Embedded Connected Vehicle
Oracle Embedded Connected Vehicle
 
Business Model Canvas - GoJek
Business Model Canvas - GoJekBusiness Model Canvas - GoJek
Business Model Canvas - GoJek
 
Smart Taxi Presentation - Enter the future of taxi dispatch service
Smart Taxi Presentation - Enter the future of taxi dispatch serviceSmart Taxi Presentation - Enter the future of taxi dispatch service
Smart Taxi Presentation - Enter the future of taxi dispatch service
 
Smart Cars Equipped With Futuristic & Practical Features
Smart Cars Equipped With Futuristic & Practical FeaturesSmart Cars Equipped With Futuristic & Practical Features
Smart Cars Equipped With Futuristic & Practical Features
 

Destaque

Please meet Amazon Alexa and the Alexa Skills Kit
Please meet Amazon Alexa and the Alexa Skills KitPlease meet Amazon Alexa and the Alexa Skills Kit
Please meet Amazon Alexa and the Alexa Skills KitAmazon Web Services
 
BIG Thoughts from the RetailOasis BIG Breakfast
BIG Thoughts from the RetailOasis BIG BreakfastBIG Thoughts from the RetailOasis BIG Breakfast
BIG Thoughts from the RetailOasis BIG BreakfastRetailOasis
 
GOOGLE's Thoughts from the RetailOasis BIG Breakfast
GOOGLE's Thoughts from the RetailOasis BIG BreakfastGOOGLE's Thoughts from the RetailOasis BIG Breakfast
GOOGLE's Thoughts from the RetailOasis BIG BreakfastRetailOasis
 
Is technology the real game changer?
Is technology the real game changer?Is technology the real game changer?
Is technology the real game changer?Rafis Kadir
 
Internet dos Trem e como não colocar fogo em casa
Internet dos Trem e como não colocar fogo em casaInternet dos Trem e como não colocar fogo em casa
Internet dos Trem e como não colocar fogo em casaLuís Leão
 
Writing Alexa Voice Skills with NodeJS- David Janes
Writing Alexa Voice Skills with NodeJS- David JanesWriting Alexa Voice Skills with NodeJS- David Janes
Writing Alexa Voice Skills with NodeJS- David JanesWithTheBest
 
Artificial Intelligence at Work - Assist Workshop 2016 - Dave Isbitski Amazon
Artificial Intelligence at Work - Assist Workshop 2016 - Dave Isbitski AmazonArtificial Intelligence at Work - Assist Workshop 2016 - Dave Isbitski Amazon
Artificial Intelligence at Work - Assist Workshop 2016 - Dave Isbitski AmazonAssist
 
Шкалы ECERS-R
Шкалы ECERS-RШкалы ECERS-R
Шкалы ECERS-Ryul7059
 
Amazon Echo 101 - how to build for voice
Amazon Echo 101 - how to build for voiceAmazon Echo 101 - how to build for voice
Amazon Echo 101 - how to build for voiceBAM
 
Developing Skills for Amazon Echo
Developing Skills for Amazon EchoDeveloping Skills for Amazon Echo
Developing Skills for Amazon EchoQAware GmbH
 
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
 
For Insurance Agents: Choosing the right objectives and tactics for 2015 dig...
For Insurance Agents:  Choosing the right objectives and tactics for 2015 dig...For Insurance Agents:  Choosing the right objectives and tactics for 2015 dig...
For Insurance Agents: Choosing the right objectives and tactics for 2015 dig...Confluency Solutions
 
Google home - Social media campaign - Pierre-clement Lihou
Google home - Social media campaign - Pierre-clement LihouGoogle home - Social media campaign - Pierre-clement Lihou
Google home - Social media campaign - Pierre-clement LihouPierre-Clement Lihou
 
Hands-Free Healthcare: How an Echo Rewrites the Playbook (Digital Health Summ...
Hands-Free Healthcare: How an Echo Rewrites the Playbook (Digital Health Summ...Hands-Free Healthcare: How an Echo Rewrites the Playbook (Digital Health Summ...
Hands-Free Healthcare: How an Echo Rewrites the Playbook (Digital Health Summ...Jill Gilbert
 
Build a Mobile App with Google Forms and AppSheet
Build a Mobile App with Google Forms and AppSheetBuild a Mobile App with Google Forms and AppSheet
Build a Mobile App with Google Forms and AppSheetAppSheet
 
Introduction to building alexa skills and putting your amazon echo to work
Introduction to building alexa skills and putting your amazon echo to workIntroduction to building alexa skills and putting your amazon echo to work
Introduction to building alexa skills and putting your amazon echo to workAbe Diaz
 
13 nlp presuppositions
13 nlp presuppositions13 nlp presuppositions
13 nlp presuppositionsAshLawrence
 

Destaque (20)

Amazon Echo
Amazon EchoAmazon Echo
Amazon Echo
 
Please meet Amazon Alexa and the Alexa Skills Kit
Please meet Amazon Alexa and the Alexa Skills KitPlease meet Amazon Alexa and the Alexa Skills Kit
Please meet Amazon Alexa and the Alexa Skills Kit
 
BIG Thoughts from the RetailOasis BIG Breakfast
BIG Thoughts from the RetailOasis BIG BreakfastBIG Thoughts from the RetailOasis BIG Breakfast
BIG Thoughts from the RetailOasis BIG Breakfast
 
GOOGLE's Thoughts from the RetailOasis BIG Breakfast
GOOGLE's Thoughts from the RetailOasis BIG BreakfastGOOGLE's Thoughts from the RetailOasis BIG Breakfast
GOOGLE's Thoughts from the RetailOasis BIG Breakfast
 
Is technology the real game changer?
Is technology the real game changer?Is technology the real game changer?
Is technology the real game changer?
 
Project6
Project6Project6
Project6
 
Internet dos Trem e como não colocar fogo em casa
Internet dos Trem e como não colocar fogo em casaInternet dos Trem e como não colocar fogo em casa
Internet dos Trem e como não colocar fogo em casa
 
Writing Alexa Voice Skills with NodeJS- David Janes
Writing Alexa Voice Skills with NodeJS- David JanesWriting Alexa Voice Skills with NodeJS- David Janes
Writing Alexa Voice Skills with NodeJS- David Janes
 
Artificial Intelligence at Work - Assist Workshop 2016 - Dave Isbitski Amazon
Artificial Intelligence at Work - Assist Workshop 2016 - Dave Isbitski AmazonArtificial Intelligence at Work - Assist Workshop 2016 - Dave Isbitski Amazon
Artificial Intelligence at Work - Assist Workshop 2016 - Dave Isbitski Amazon
 
Шкалы ECERS-R
Шкалы ECERS-RШкалы ECERS-R
Шкалы ECERS-R
 
Amazon Echo vs Google Home: The Smart Home Begins
Amazon Echo vs Google Home: The Smart Home BeginsAmazon Echo vs Google Home: The Smart Home Begins
Amazon Echo vs Google Home: The Smart Home Begins
 
Amazon Echo 101 - how to build for voice
Amazon Echo 101 - how to build for voiceAmazon Echo 101 - how to build for voice
Amazon Echo 101 - how to build for voice
 
Developing Skills for Amazon Echo
Developing Skills for Amazon EchoDeveloping Skills for Amazon Echo
Developing Skills for Amazon Echo
 
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
 
For Insurance Agents: Choosing the right objectives and tactics for 2015 dig...
For Insurance Agents:  Choosing the right objectives and tactics for 2015 dig...For Insurance Agents:  Choosing the right objectives and tactics for 2015 dig...
For Insurance Agents: Choosing the right objectives and tactics for 2015 dig...
 
Google home - Social media campaign - Pierre-clement Lihou
Google home - Social media campaign - Pierre-clement LihouGoogle home - Social media campaign - Pierre-clement Lihou
Google home - Social media campaign - Pierre-clement Lihou
 
Hands-Free Healthcare: How an Echo Rewrites the Playbook (Digital Health Summ...
Hands-Free Healthcare: How an Echo Rewrites the Playbook (Digital Health Summ...Hands-Free Healthcare: How an Echo Rewrites the Playbook (Digital Health Summ...
Hands-Free Healthcare: How an Echo Rewrites the Playbook (Digital Health Summ...
 
Build a Mobile App with Google Forms and AppSheet
Build a Mobile App with Google Forms and AppSheetBuild a Mobile App with Google Forms and AppSheet
Build a Mobile App with Google Forms and AppSheet
 
Introduction to building alexa skills and putting your amazon echo to work
Introduction to building alexa skills and putting your amazon echo to workIntroduction to building alexa skills and putting your amazon echo to work
Introduction to building alexa skills and putting your amazon echo to work
 
13 nlp presuppositions
13 nlp presuppositions13 nlp presuppositions
13 nlp presuppositions
 

Semelhante a How to Create a Custom Skill

AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way
 AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way
AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless WaySrushith Repakula
 
AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless W...
AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless W...AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless W...
AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless W...CodeOps Technologies LLP
 
Productionize Serverless Application Building and Deployments with AWS SAM - ...
Productionize Serverless Application Building and Deployments with AWS SAM - ...Productionize Serverless Application Building and Deployments with AWS SAM - ...
Productionize Serverless Application Building and Deployments with AWS SAM - ...Amazon Web Services
 
Alexa101 course slides
Alexa101 course slidesAlexa101 course slides
Alexa101 course slidesDan Bloy
 
How to Build a Backend for an Alexa Smart Home Skill - ALX316 - re:Invent 2017
How to Build a Backend for an Alexa Smart Home Skill - ALX316 - re:Invent 2017How to Build a Backend for an Alexa Smart Home Skill - ALX316 - re:Invent 2017
How to Build a Backend for an Alexa Smart Home Skill - ALX316 - re:Invent 2017Amazon Web Services
 
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 WorkshopDinah Barrett
 
AWS Lambda Tutorial
AWS Lambda TutorialAWS Lambda Tutorial
AWS Lambda TutorialWhizlabs
 
Building a Production-ready Predictive App for Customer Service - Alex Ingerm...
Building a Production-ready Predictive App for Customer Service - Alex Ingerm...Building a Production-ready Predictive App for Customer Service - Alex Ingerm...
Building a Production-ready Predictive App for Customer Service - Alex Ingerm...PAPIs.io
 
Amazon alexa - building custom skills
Amazon alexa - building custom skillsAmazon alexa - building custom skills
Amazon alexa - building custom skillsAniruddha Chakrabarti
 
Fraudpointer - Google Apps integration
Fraudpointer  - Google Apps integrationFraudpointer  - Google Apps integration
Fraudpointer - Google Apps integrationFraudpointer.com
 
Start building for voice with alexa
Start building for voice with alexaStart building for voice with alexa
Start building for voice with alexaEitan Sela
 
(BDT302) Real-World Smart Applications With Amazon Machine Learning
(BDT302) Real-World Smart Applications With Amazon Machine Learning(BDT302) Real-World Smart Applications With Amazon Machine Learning
(BDT302) Real-World Smart Applications With Amazon Machine LearningAmazon Web Services
 
AWS January 2016 Webinar Series - Building Smart Applications with Amazon Mac...
AWS January 2016 Webinar Series - Building Smart Applications with Amazon Mac...AWS January 2016 Webinar Series - Building Smart Applications with Amazon Mac...
AWS January 2016 Webinar Series - Building Smart Applications with Amazon Mac...Amazon Web Services
 
Tips and Tricks for Building and Deploying Serverless Apps In Minutes - AWS O...
Tips and Tricks for Building and Deploying Serverless Apps In Minutes - AWS O...Tips and Tricks for Building and Deploying Serverless Apps In Minutes - AWS O...
Tips and Tricks for Building and Deploying Serverless Apps In Minutes - AWS O...Amazon Web Services
 
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 ...Amazon Web Services
 
Real-World Smart Applications with Amazon Machine Learning - AWS Machine Lear...
Real-World Smart Applications with Amazon Machine Learning - AWS Machine Lear...Real-World Smart Applications with Amazon Machine Learning - AWS Machine Lear...
Real-World Smart Applications with Amazon Machine Learning - AWS Machine Lear...AWS Germany
 

Semelhante a How to Create a Custom Skill (20)

AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way
 AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way
AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless Way
 
AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless W...
AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless W...AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless W...
AWS Lambda Hands-on: How to Create Phone Call Notifications in a Serverless W...
 
Productionize Serverless Application Building and Deployments with AWS SAM - ...
Productionize Serverless Application Building and Deployments with AWS SAM - ...Productionize Serverless Application Building and Deployments with AWS SAM - ...
Productionize Serverless Application Building and Deployments with AWS SAM - ...
 
Building a chatbot – step by step
Building a chatbot – step by stepBuilding a chatbot – step by step
Building a chatbot – step by step
 
Alexa101 course slides
Alexa101 course slidesAlexa101 course slides
Alexa101 course slides
 
CFAmazon
CFAmazonCFAmazon
CFAmazon
 
How to Build a Backend for an Alexa Smart Home Skill - ALX316 - re:Invent 2017
How to Build a Backend for an Alexa Smart Home Skill - ALX316 - re:Invent 2017How to Build a Backend for an Alexa Smart Home Skill - ALX316 - re:Invent 2017
How to Build a Backend for an Alexa Smart Home Skill - ALX316 - re:Invent 2017
 
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
 
Aws setup
Aws setupAws setup
Aws setup
 
AWS Lambda Tutorial
AWS Lambda TutorialAWS Lambda Tutorial
AWS Lambda Tutorial
 
Aws
AwsAws
Aws
 
Building a Production-ready Predictive App for Customer Service - Alex Ingerm...
Building a Production-ready Predictive App for Customer Service - Alex Ingerm...Building a Production-ready Predictive App for Customer Service - Alex Ingerm...
Building a Production-ready Predictive App for Customer Service - Alex Ingerm...
 
Amazon alexa - building custom skills
Amazon alexa - building custom skillsAmazon alexa - building custom skills
Amazon alexa - building custom skills
 
Fraudpointer - Google Apps integration
Fraudpointer  - Google Apps integrationFraudpointer  - Google Apps integration
Fraudpointer - Google Apps integration
 
Start building for voice with alexa
Start building for voice with alexaStart building for voice with alexa
Start building for voice with alexa
 
(BDT302) Real-World Smart Applications With Amazon Machine Learning
(BDT302) Real-World Smart Applications With Amazon Machine Learning(BDT302) Real-World Smart Applications With Amazon Machine Learning
(BDT302) Real-World Smart Applications With Amazon Machine Learning
 
AWS January 2016 Webinar Series - Building Smart Applications with Amazon Mac...
AWS January 2016 Webinar Series - Building Smart Applications with Amazon Mac...AWS January 2016 Webinar Series - Building Smart Applications with Amazon Mac...
AWS January 2016 Webinar Series - Building Smart Applications with Amazon Mac...
 
Tips and Tricks for Building and Deploying Serverless Apps In Minutes - AWS O...
Tips and Tricks for Building and Deploying Serverless Apps In Minutes - AWS O...Tips and Tricks for Building and Deploying Serverless Apps In Minutes - AWS O...
Tips and Tricks for Building and Deploying Serverless Apps In Minutes - AWS O...
 
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 ...
 
Real-World Smart Applications with Amazon Machine Learning - AWS Machine Lear...
Real-World Smart Applications with Amazon Machine Learning - AWS Machine Lear...Real-World Smart Applications with Amazon Machine Learning - AWS Machine Lear...
Real-World Smart Applications with Amazon Machine Learning - AWS Machine Lear...
 

Último

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
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 Scriptwesley chun
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Último (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
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
 
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...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

How to Create a Custom Skill

  • 1. Create a Custom Skill on the Amazon Echo Emily Lam, DeveloperWeek 2/13/2017
  • 2. About Me u  Emily Lam u  UCLA: Linguistics and specialization in Computing u  Currently: Frontend developer at Lieberman Software u  Skills published: 4 u  Hackathons won using Alexa: 3 u  Money 20/20 WorldPay u  2nd Mojio Connected Car u  1st GA + IBM Watson Workspace Twitter: @hongily https://liebsoft.com
  • 3. Agenda u  1. Walk you through how to create a basic trivia skill u  2. Discuss In-depth Topics u  Built-in and Custom slots u  Account linking u  SSML Tags
  • 4. Sign into https://developer.amazon.com/ This is the same account that you use to sign into www.amazon.com. Don’t have an Amazon account? You can create one after you click “Sign In”. https://developer.amazon.com/
  • 6. Click on Get Started > under the Alexa Skills Kit https://developer.amazon.com/
  • 7. Click on “Add a New Skill” https://developer.amazon.com/
  • 9. Skills Information u  Skill Type u  Custom Interaction Model: Gives you the most control over the user’s experience and is the most flexible kind of skill you can build. u  Smart Home Skill API: Great for building a skill with smart home devices u  Flash Briefing Skill API: Easy for creating flash briefings/RSS feed u  Language u  You can choose English (U.S.), English (U.K.), or German https://developer.amazon.com/
  • 10. Skills Information u  Name u  Appears as the title in the Alexa app. Ex. Morning Dose App Name u  Must be between 2-50 characters. u  Invocation Name u  The name you use to tell Alexa to open the skill. Ex. Morning Dose. See Invocation Guidelines. u  Global Fields u  Audio Player for music related skills ie. Spotify https://developer.amazon.com/
  • 11. Interaction Model u  Intent Schema: A JSON structure which declares the set of intents your service can accept and process. https://developer.amazon.com/
  • 12. Interaction Model u  Intent Schema: A JSON structure which declares the set of intents your service can accept and process. https://developer.amazon.com/ u  https://github.com/alexa/skill-sample-nodejs-trivia/tree/master/ speechAssets
  • 13. Interaction Model u  Custom Slots: Custom slot types to be referenced by the Intent Schema and Sample Utterances u  Sample Utterances: What you say to Alexa to trigger an intent https://developer.amazon.com/
  • 14. Configuration Select AWS Lambda ARN (Amazon Resource Name) and then North America. https://developer.amazon.com/
  • 15. Go to https://aws.amazon.com Sign in to the Console https://aws.amazon.com/
  • 16. Sign In or Create an AWS Account https://aws.amazon.com/
  • 17. Select US East (N. Virginia) for US skills and EU (Ireland) for UK/DE skills These are the only two regions currently supported for Alexa skill development on AWS Lambda https://aws.amazon.com/
  • 18. Type in Lambda and select the Lambda option https://aws.amazon.com/
  • 19. Select Create a Lambda function https://aws.amazon.com/
  • 20. Type Alexa in the filter and then select alexa-skill-kit-sdk-triviaskill https://aws.amazon.com/
  • 21. Click on the gray square https://aws.amazon.com/
  • 22. Select Alexa Skills Kit and then Next https://aws.amazon.com/
  • 23. Type in a function name https://aws.amazon.com/ Function name must contain only letters, numbers, hyphens, or underscores.
  • 24. Click on the dropdown menu and select Create a custom role https://aws.amazon.com
  • 27. Click on “Create function” https://aws.amazon.com
  • 28. Click on “Test” and look at the execution result https://aws.amazon.com
  • 29. Click on “Actions and then “Export function” https://aws.amazon.com
  • 30. Click on “Download deployment package” https://aws.amazon.com
  • 31. Edit index.js and question.js https://aws.amazon.com
  • 32. Select the two files + node_modules and compress the 3 items. https://aws.amazon.com
  • 34. Click Save and test https://aws.amazon.com
  • 36. Paste the ARN in your skill at https://developer.amazon.com and the select “Next” https://developer.amazon.com
  • 37. Select a Category and Subcategory if necessary Then, write in testing instructions. https://developer.amazon.com
  • 38. Write a short description (160 character max.) about the skill https://developer.amazon.com
  • 39. Write a full description that will appear in the skill’s detail card https://developer.amazon.com
  • 40. Write up to three example phrases that appear as aids for users when they see your skill’s detail card. https://developer.amazon.com
  • 41. Answer privacy related questions and export compliance https://developer.amazon.com
  • 42. Click “Submit for Certification” and you are done! https://developer.amazon.com
  • 43. In-depth Topics u  Built-in and Custom slots u  Account linking u  SSML Tags
  • 44. Built-in Slots and Custom Slots Slots are arguments for intents. A built-in slot type such as AMAZON.NUMBER converts numeric words (“five”) into digits (such as “5”). You can view all the built-in slots at: https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/ built-in-intent-ref/slot-type-reference A custom slot type is used for items that are not covered by Amazon’s built-in set of types.
  • 45. Built-in Slots and Custom Slots "intents": [ { "intent": "ReportIntent", "slots": [ { "name": "Incident", "type": "LIST_OF_INCIDENTS" }] } You define the slot type in the Intent Schema.
  • 46. Custom Slots You create a slot type (ie LIST_OF_INCIDENTS) and then you write the values.
  • 47. Custom Slots You reference the intent and slot name in the Sample Utterances
  • 48. Custom Slots You can use the value of the custom slot in your lambda code.
  • 49. Account linking You can link an external account to the Alexa.
  • 50. Account linking You create an application and link it to Alexa through the Alexa app.
  • 51. Account linking The client id and client secret are retrieved from the external account
  • 53. Account linking Token: 59010bf8-4a29-4f59-8bd7-3a59ac383781 Redirects back to https://pitangui.amazon.com/api/skill/link/ M1PJIQE7PVNV1
  • 54. Account linking Token: 59010bf8-4a29-4f59-8bd7-3a59ac383781 Redirects back to https://pitangui.amazon.com/api/skill/link/ M1PJIQE7PVNV1
  • 55. Account linking A privacy policy is required for account linking. You also have to disclose if you are collect users' personal information (ie email, password, etc)
  • 56. SSML Tags Speech Synthesis Markup Language provides additional control over how Alexa generates the speech text in your response. Examples: <say-as interpret-as="cardinal">12345</say-as> sounds like twelve thousand three hundred forty five <say-as interpret-as=”ordinal">12345</say-as> sounds like twelve thousand three hundred forty fifth <say-as interpret-as="spell-out">12345</say-as> sounds like one two three four five Reference: https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/ speech-synthesis-markup-language-ssml-reference#supported-ssml-tags
  • 57. SSML Tags Speech Synthesis Markup Language provides additional control over how Alexa generates the speech text in your response. Examples: <say-as interpret-as="cardinal">12345</say-as> sounds like twelve thousand three hundred forty five <say-as interpret-as=”ordinal">12345</say-as> sounds like twelve thousand three hundred forty fifth <say-as interpret-as="spell-out">12345</say-as> sounds like one two three four five Reference: https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/ speech-synthesis-markup-language-ssml-reference#supported-ssml-tags
  • 58. Thank you! Questions? Tweet me @hongily Email me at emily@emilytlam.com