SlideShare uma empresa Scribd logo
1 de 28
AlexaDays 2017〜各地でAlexa、AI、IoTを語る
2017/5/17
Alexa Skills Kit
@sparkgene
Jun Ichikawa
Favorite services:
AWS IoT
Amazon Alexa
infrastructure engineer
What is Alexa Skills Kit (ASK)?
▸Collection of self-service APIs
▸Tools
▸Documentation
▸Code samples
What can we build with ASK?
Order Foods & Drinks Get a ride Control smart
home device
Check bank
account
Game scores
Todays game
Get latest
news
Learn
Alexa Skills Types
▸Custom Skills
▸Smart Home Skills
▸Flash Briefing Skills
Custom Skills
▸design your own interaction model
▸interaction name is required
▸customer need to remember interaction name or invocation
phrase
▸you can use any server to host custom skill
Flash Briefing Skills
▸only way to add contents to Alexa flash briefing
▹ Alexa, what’s new?
▸pre-recorded audio clips and text-to-speech
▸RSS feed format or JSON format
Smart Home Skills
▸built-in interaction model
▸natural utterances to control device
▹Alexa, turn on living light
▸Alexa need a grant permissions (OAuth) to retrieve device
information and control device
▸You need a cloud service to manage customers smart
devices
▸Skill must use AWS Lambda function
Skill Type
Custom Skill
Smart Home Skill
Flash Briefing
Skill
Custom Skill
How does custom skill work?
[1] Alexa, ask weather
Weather
Skill
[2] Invoke Intent with arguments
[3] Text response
(and card data)
[4] Audio response
[4] display card
How user invoke custom skills
Alexa, ask Plan My Trip to plan a trip
from Seattle to Portland on Friday.
Alexa
ask
Plan My Trip
to plan a trip from
Seattle
to
Portland
on
Friday
= wake word
= starting phrase
= Invocation name
= some word
= slot
= connecting word
= slot
= connecting word
= slot
Starting phrase
Ask, Begin, Do, Launch, Load, Open, Play, Play the
game, Resume, Run, Start, Start playing, Start playing the
game, Talk to, Tell, Use
But starting phrase is not required.
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/supported-phrases-to-
begin-a-conversation
Invocation name
▸User say invocation name to use the skill
▸invocation name must not contain the wake words or launch
phrases and connecting words.
(Alexa, Amazon, Echo, ask, tell, etc.)
▸must not infringe upon the intellectual property rights of an
entity or person.
▸and other...
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/choosing-the-invocation-
name-for-an-alexa-skill#invocation-name-requirements
Slot contains a collection of word which you want to recognize.
There are two type of Slot.
▸built in type
▸ AMAZON.DATE、AMAZON.NUMBER、
AMAZON.US_CITY、AMAZON.US_FIRST_NAME、etc
▸custom type
▹ you can create a original list.
▹ ex)
▹ slot “JAWS-UG” = KOBE, OSAKA, NAGOYA, IoT, ....
Slot
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-
reference
Interaction Model
▸PlanMyTrip i want to visit {toCity}
▸PlanMyTrip Plan a trip
▸PlanMyTrip I'll go to {toCity} on {travelDate}
▸PlanMyTrip I want to travel from {fromCity} to {toCity} on
{travelDate}
Sample utterance
When users say one of these utterances, the Alexa service sends a
request to your service that includes the corresponding intent.
{
"intents": [
{
"intent": "PlanMyTrip",
"slots": [
{ "name": "travelDate", "type": "AMAZON.DATE" },
{"name": "toCity", "type": "AMAZON.US_CITY" },
{"name": "fromCity", "type": "AMAZON.US_CITY" }
]
}
]
}
Intent Schema
declares the intents that can be handled by the service for a custom skill
How does Plan My Trip work?
[1] Alexa, ask Plan My Trip to plan a trip
from Seattle to Portland on Friday.
Plan My
Trip
Skill
[2] Invoke PlanMyTrip with
toCity=Portland
fromCity=Seattle
travelDate=May 19 2017
[3] Text response[4] Audio response
Alexa Skill Updates
Skill Builder (Beta) and Dialog
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/ask-define-the-vui-with-gui
Skill Builder can make Dialog more easily
▸the old interaction model need to return question if
required slot is not passed to your skill
▸skill builder can define question for required slot
Alexa List
▸You can add and read the Alexa List
▹shopping list
▹to-do list
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/access-the-alexa-shopping-
and-to-do-lists
Device Address information
▸You can get device location
▹ country + zipcode
▹ country + zipcode + address
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/access-the-alexa-shopping-
and-to-do-lists
Start building
your own skill
▸Step 1: Create your free Amazon Developer Account and
name your skill
▸Step 2: Get Space Geek from the GitHub repository
▸Step 3: Upload code into AWS Lambda
▸Step 4: Configure and test your code
▸Step 5: Customize your Alexa skill
▸Step 6: Fine-Tune and Publish Your Skill
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/content/fact-skill-1
6 Steps to Build Your First Alexa Skill
THANKS!
You can find me at @sparkgene

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Alexa skill development
Alexa skill developmentAlexa skill development
Alexa skill development
 
Amazon Alexa Development Overview
Amazon Alexa Development OverviewAmazon Alexa Development Overview
Amazon Alexa Development Overview
 
Amazon alexa - building custom skills
Amazon alexa - building custom skillsAmazon alexa - building custom skills
Amazon alexa - building custom skills
 
Amazon Alexa
Amazon AlexaAmazon Alexa
Amazon Alexa
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
Amazon Alexa Workshop
Amazon Alexa WorkshopAmazon Alexa Workshop
Amazon Alexa Workshop
 
Building Chatbots with Amazon Lex
Building Chatbots with Amazon LexBuilding Chatbots with Amazon Lex
Building Chatbots with Amazon Lex
 
Alexa-An intelligent voice-controlled personal assistant by AMAZON
Alexa-An intelligent voice-controlled personal assistant by AMAZONAlexa-An intelligent voice-controlled personal assistant by AMAZON
Alexa-An intelligent voice-controlled personal assistant by AMAZON
 
Enterprise single sign on
Enterprise single sign onEnterprise single sign on
Enterprise single sign on
 
Securing your Azure Identity Infrastructure
Securing your Azure Identity InfrastructureSecuring your Azure Identity Infrastructure
Securing your Azure Identity Infrastructure
 
AWS re:Invent 특집(3) – Amazon 인공 지능(AI) 서비스 및 AWS 딥러닝 프레임웍 활용 (윤석찬)
AWS re:Invent 특집(3) – Amazon 인공 지능(AI) 서비스 및 AWS 딥러닝 프레임웍 활용 (윤석찬)AWS re:Invent 특집(3) – Amazon 인공 지능(AI) 서비스 및 AWS 딥러닝 프레임웍 활용 (윤석찬)
AWS re:Invent 특집(3) – Amazon 인공 지능(AI) 서비스 및 AWS 딥러닝 프레임웍 활용 (윤석찬)
 
Amazon EFS
Amazon EFSAmazon EFS
Amazon EFS
 
Auto scaling using Amazon Web Services ( AWS )
Auto scaling using Amazon Web Services ( AWS )Auto scaling using Amazon Web Services ( AWS )
Auto scaling using Amazon Web Services ( AWS )
 
Amazon Simple Email Service
Amazon Simple Email ServiceAmazon Simple Email Service
Amazon Simple Email Service
 
Amazon Echo
Amazon EchoAmazon Echo
Amazon Echo
 
Amazon ec2
Amazon ec2Amazon ec2
Amazon ec2
 
Building a Chatbot with Amazon Lex and AWS Lambda Workshop
Building a Chatbot with Amazon Lex and AWS Lambda WorkshopBuilding a Chatbot with Amazon Lex and AWS Lambda Workshop
Building a Chatbot with Amazon Lex and AWS Lambda Workshop
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
AWS Cloud trail
AWS Cloud trailAWS Cloud trail
AWS Cloud trail
 
Amazon Connect & Amazon Lex Demo
Amazon Connect & Amazon Lex DemoAmazon Connect & Amazon Lex Demo
Amazon Connect & Amazon Lex Demo
 

Semelhante a Alexa Skills Kit

Valentyn Buleiko “Shedding light on the possibilities of voice assistants by ...
Valentyn Buleiko “Shedding light on the possibilities of voice assistants by ...Valentyn Buleiko “Shedding light on the possibilities of voice assistants by ...
Valentyn Buleiko “Shedding light on the possibilities of voice assistants by ...
Lviv Startup Club
 
Screencast dave dev-introtoask-andecho-july2015
Screencast dave dev-introtoask-andecho-july2015Screencast dave dev-introtoask-andecho-july2015
Screencast dave dev-introtoask-andecho-july2015
David Isbitski
 

Semelhante a Alexa Skills Kit (20)

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
 
David Isbitski - Enabling new voice experiences with Amazon Alexa and AWS Lambda
David Isbitski - Enabling new voice experiences with Amazon Alexa and AWS LambdaDavid Isbitski - Enabling new voice experiences with Amazon Alexa and AWS Lambda
David Isbitski - Enabling new voice experiences with Amazon Alexa and AWS Lambda
 
NUS-ISS Learning Day 2017 - Voice Computing - The Next Digital Disruption!
NUS-ISS Learning Day 2017 - Voice Computing - The Next Digital Disruption!NUS-ISS Learning Day 2017 - Voice Computing - The Next Digital Disruption!
NUS-ISS Learning Day 2017 - Voice Computing - The Next Digital Disruption!
 
An Introduction to Using AWS and ASK to Build Voice Driven Experiences
An Introduction to Using AWS and ASK to Build Voice Driven ExperiencesAn Introduction to Using AWS and ASK to Build Voice Driven Experiences
An Introduction to Using AWS and ASK to Build Voice Driven Experiences
 
Introduction to building alexa skills and putting your amazon echo to work
Introduction to building alexa skills and putting your amazon echo to workIntroduction to building alexa skills and putting your amazon echo to work
Introduction to building alexa skills and putting your amazon echo to work
 
Alexa Smart Home Skill
Alexa Smart Home SkillAlexa Smart Home Skill
Alexa Smart Home Skill
 
Get Started Developing with Alexa and Drupal
Get Started Developing with Alexa and DrupalGet Started Developing with Alexa and Drupal
Get Started Developing with Alexa and Drupal
 
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
 
MCL204_How Washington County Sherriff’s Office is using Amazon AI to Identify...
MCL204_How Washington County Sherriff’s Office is using Amazon AI to Identify...MCL204_How Washington County Sherriff’s Office is using Amazon AI to Identify...
MCL204_How Washington County Sherriff’s Office is using Amazon AI to Identify...
 
The Unusual Suspect: How Washington County Sheriff’s Office is using Amazon A...
The Unusual Suspect: How Washington County Sheriff’s Office is using Amazon A...The Unusual Suspect: How Washington County Sheriff’s Office is using Amazon A...
The Unusual Suspect: How Washington County Sheriff’s Office is using Amazon A...
 
Serve Your Customers with AI from the Cloud: AWS Developer Workshop - Web Sum...
Serve Your Customers with AI from the Cloud: AWS Developer Workshop - Web Sum...Serve Your Customers with AI from the Cloud: AWS Developer Workshop - Web Sum...
Serve Your Customers with AI from the Cloud: AWS Developer Workshop - Web Sum...
 
Valentyn Buleiko “Shedding light on the possibilities of voice assistants by ...
Valentyn Buleiko “Shedding light on the possibilities of voice assistants by ...Valentyn Buleiko “Shedding light on the possibilities of voice assistants by ...
Valentyn Buleiko “Shedding light on the possibilities of voice assistants by ...
 
Reimagining your user experience with Amazon Lex, Amazon Polly and Alexa Ski...
 Reimagining your user experience with Amazon Lex, Amazon Polly and Alexa Ski... Reimagining your user experience with Amazon Lex, Amazon Polly and Alexa Ski...
Reimagining your user experience with Amazon Lex, Amazon Polly and Alexa Ski...
 
Screencast dave dev-introtoask-andecho-july2015
Screencast dave dev-introtoask-andecho-july2015Screencast dave dev-introtoask-andecho-july2015
Screencast dave dev-introtoask-andecho-july2015
 
IT Camp 2019: How to build your first Alexa skill in under one hour
IT Camp 2019: How to build your first Alexa skill in under one hourIT Camp 2019: How to build your first Alexa skill in under one hour
IT Camp 2019: How to build your first Alexa skill in under one hour
 
How to create a Voice – Enabled IoT solution for Alexa
How to create a Voice – Enabled IoT solution for AlexaHow to create a Voice – Enabled IoT solution for Alexa
How to create a Voice – Enabled IoT solution for Alexa
 
Building voice enabled Apps with Alexa voice service and Amazon Lex.
Building voice enabled Apps with Alexa voice service and Amazon Lex.     Building voice enabled Apps with Alexa voice service and Amazon Lex.
Building voice enabled Apps with Alexa voice service and Amazon Lex.
 
Amazon Alexa and AWS Lambda
Amazon Alexa and AWS LambdaAmazon Alexa and AWS Lambda
Amazon Alexa and AWS Lambda
 
An Introduction to Amazon AI
An Introduction to Amazon AIAn Introduction to Amazon AI
An Introduction to Amazon AI
 
Building custom skills with Amazon Alexa
Building custom skills with Amazon AlexaBuilding custom skills with Amazon Alexa
Building custom skills with Amazon Alexa
 

Mais de Jun Ichikawa

Mais de Jun Ichikawa (20)

Cloud9で試すAWS IoT Greengrass V2
Cloud9で試すAWS IoT Greengrass V2Cloud9で試すAWS IoT Greengrass V2
Cloud9で試すAWS IoT Greengrass V2
 
AWS IoT サービスこの1年の進化
AWS IoT サービスこの1年の進化AWS IoT サービスこの1年の進化
AWS IoT サービスこの1年の進化
 
エッジコンピューティングで実現できる活用シナリオ3選
エッジコンピューティングで実現できる活用シナリオ3選エッジコンピューティングで実現できる活用シナリオ3選
エッジコンピューティングで実現できる活用シナリオ3選
 
AlexaのSmart HomeをAWSで作る方法
AlexaのSmart HomeをAWSで作る方法AlexaのSmart HomeをAWSで作る方法
AlexaのSmart HomeをAWSで作る方法
 
Alexaスキルのはじめ方
Alexaスキルのはじめ方Alexaスキルのはじめ方
Alexaスキルのはじめ方
 
Make your home smarter with Alexa
Make your home smarter with AlexaMake your home smarter with Alexa
Make your home smarter with Alexa
 
AlexaでスマートホームをDIYする
AlexaでスマートホームをDIYするAlexaでスマートホームをDIYする
AlexaでスマートホームをDIYする
 
Alexa Skills Kitでプロダクトの可能性を広げる Re:Cap?
Alexa Skills Kitでプロダクトの可能性を広げる Re:Cap?Alexa Skills Kitでプロダクトの可能性を広げる Re:Cap?
Alexa Skills Kitでプロダクトの可能性を広げる Re:Cap?
 
Alexaコミュニティーの作り方
Alexaコミュニティーの作り方Alexaコミュニティーの作り方
Alexaコミュニティーの作り方
 
Alexa Skills Kitでプロダクトの可能性を広げる
Alexa Skills Kitでプロダクトの可能性を広げるAlexa Skills Kitでプロダクトの可能性を広げる
Alexa Skills Kitでプロダクトの可能性を広げる
 
Alexa Skills Kitの始め方
Alexa Skills Kitの始め方Alexa Skills Kitの始め方
Alexa Skills Kitの始め方
 
Amazon AlexaとServerless
Amazon AlexaとServerlessAmazon AlexaとServerless
Amazon AlexaとServerless
 
Alexa and AI global meetup
Alexa and AI global meetupAlexa and AI global meetup
Alexa and AI global meetup
 
JAWS-UG IoT専門支部 Amazon AI
JAWS-UG IoT専門支部 Amazon AIJAWS-UG IoT専門支部 Amazon AI
JAWS-UG IoT専門支部 Amazon AI
 
Ai専門支部#2 Amazon AlexaとAmazon Polly
Ai専門支部#2 Amazon AlexaとAmazon PollyAi専門支部#2 Amazon AlexaとAmazon Polly
Ai専門支部#2 Amazon AlexaとAmazon Polly
 
会議室利用をIoTを使って快適にしたい
会議室利用をIoTを使って快適にしたい会議室利用をIoTを使って快適にしたい
会議室利用をIoTを使って快適にしたい
 
Alexa Skills Kitを使って自作のSkillを作る
Alexa Skills Kitを使って自作のSkillを作るAlexa Skills Kitを使って自作のSkillを作る
Alexa Skills Kitを使って自作のSkillを作る
 
Io t専門支部紹介@jaws東京
Io t専門支部紹介@jaws東京Io t専門支部紹介@jaws東京
Io t専門支部紹介@jaws東京
 
IoTで畑を監視してみる
IoTで畑を監視してみるIoTで畑を監視してみる
IoTで畑を監視してみる
 
同じサービスを ECSとOpsWorksで 運用してみた
同じサービスをECSとOpsWorksで運用してみた同じサービスをECSとOpsWorksで運用してみた
同じサービスを ECSとOpsWorksで 運用してみた
 

Último

Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Último (20)

Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 

Alexa Skills Kit

  • 2. @sparkgene Jun Ichikawa Favorite services: AWS IoT Amazon Alexa infrastructure engineer
  • 3.
  • 4. What is Alexa Skills Kit (ASK)? ▸Collection of self-service APIs ▸Tools ▸Documentation ▸Code samples
  • 5. What can we build with ASK? Order Foods & Drinks Get a ride Control smart home device Check bank account Game scores Todays game Get latest news Learn
  • 6. Alexa Skills Types ▸Custom Skills ▸Smart Home Skills ▸Flash Briefing Skills
  • 7. Custom Skills ▸design your own interaction model ▸interaction name is required ▸customer need to remember interaction name or invocation phrase ▸you can use any server to host custom skill
  • 8. Flash Briefing Skills ▸only way to add contents to Alexa flash briefing ▹ Alexa, what’s new? ▸pre-recorded audio clips and text-to-speech ▸RSS feed format or JSON format
  • 9. Smart Home Skills ▸built-in interaction model ▸natural utterances to control device ▹Alexa, turn on living light ▸Alexa need a grant permissions (OAuth) to retrieve device information and control device ▸You need a cloud service to manage customers smart devices ▸Skill must use AWS Lambda function
  • 10. Skill Type Custom Skill Smart Home Skill Flash Briefing Skill
  • 12. How does custom skill work? [1] Alexa, ask weather Weather Skill [2] Invoke Intent with arguments [3] Text response (and card data) [4] Audio response [4] display card
  • 13. How user invoke custom skills Alexa, ask Plan My Trip to plan a trip from Seattle to Portland on Friday. Alexa ask Plan My Trip to plan a trip from Seattle to Portland on Friday = wake word = starting phrase = Invocation name = some word = slot = connecting word = slot = connecting word = slot
  • 14. Starting phrase Ask, Begin, Do, Launch, Load, Open, Play, Play the game, Resume, Run, Start, Start playing, Start playing the game, Talk to, Tell, Use But starting phrase is not required. https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/supported-phrases-to- begin-a-conversation
  • 15. Invocation name ▸User say invocation name to use the skill ▸invocation name must not contain the wake words or launch phrases and connecting words. (Alexa, Amazon, Echo, ask, tell, etc.) ▸must not infringe upon the intellectual property rights of an entity or person. ▸and other... https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/choosing-the-invocation- name-for-an-alexa-skill#invocation-name-requirements
  • 16. Slot contains a collection of word which you want to recognize. There are two type of Slot. ▸built in type ▸ AMAZON.DATE、AMAZON.NUMBER、 AMAZON.US_CITY、AMAZON.US_FIRST_NAME、etc ▸custom type ▹ you can create a original list. ▹ ex) ▹ slot “JAWS-UG” = KOBE, OSAKA, NAGOYA, IoT, .... Slot https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type- reference
  • 18. ▸PlanMyTrip i want to visit {toCity} ▸PlanMyTrip Plan a trip ▸PlanMyTrip I'll go to {toCity} on {travelDate} ▸PlanMyTrip I want to travel from {fromCity} to {toCity} on {travelDate} Sample utterance When users say one of these utterances, the Alexa service sends a request to your service that includes the corresponding intent.
  • 19. { "intents": [ { "intent": "PlanMyTrip", "slots": [ { "name": "travelDate", "type": "AMAZON.DATE" }, {"name": "toCity", "type": "AMAZON.US_CITY" }, {"name": "fromCity", "type": "AMAZON.US_CITY" } ] } ] } Intent Schema declares the intents that can be handled by the service for a custom skill
  • 20. How does Plan My Trip work? [1] Alexa, ask Plan My Trip to plan a trip from Seattle to Portland on Friday. Plan My Trip Skill [2] Invoke PlanMyTrip with toCity=Portland fromCity=Seattle travelDate=May 19 2017 [3] Text response[4] Audio response
  • 22. Skill Builder (Beta) and Dialog https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/ask-define-the-vui-with-gui
  • 23. Skill Builder can make Dialog more easily ▸the old interaction model need to return question if required slot is not passed to your skill ▸skill builder can define question for required slot
  • 24. Alexa List ▸You can add and read the Alexa List ▹shopping list ▹to-do list https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/access-the-alexa-shopping- and-to-do-lists
  • 25. Device Address information ▸You can get device location ▹ country + zipcode ▹ country + zipcode + address https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/access-the-alexa-shopping- and-to-do-lists
  • 27. ▸Step 1: Create your free Amazon Developer Account and name your skill ▸Step 2: Get Space Geek from the GitHub repository ▸Step 3: Upload code into AWS Lambda ▸Step 4: Configure and test your code ▸Step 5: Customize your Alexa skill ▸Step 6: Fine-Tune and Publish Your Skill https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/content/fact-skill-1 6 Steps to Build Your First Alexa Skill
  • 28. THANKS! You can find me at @sparkgene