SlideShare a Scribd company logo
Make Your Own
ALEXA SKILL
Tuesday 28th January 02020
John Dalziel 

@crashposition
What we’ll cover
• Amazon Echo

• Amazon Alexa

• How do they work?

• The Alexa Skills Kit
What is
AMAZON ECHO?
• Amazon Echo is an internet connected "smart speaker".

• The Alexa Service is what makes it "smart".

• Launched in 2014 in US. 2016 in UK and Germany. 

• The newer Echo devices also have a display.
SET UP
What can it do?
Ask the Time
Alexa,

what time is it?
The time is
eleven seventeen.
Ask Questions
Alexa, what is the
airspeed velocity
of an unladen…
According to
Wikipedia…
Alexa,

play BBC 6Music
Play Audio
Control IoT Devices
Alexa,

Lights on.
AMAZON ECHO
How does it work?
Alexa,

• Echo listens for a wake word.
• Valid wake words are "Alexa", "Echo" and "computer".
Alexa terminology in bold.
• Echo listens for a wake word.
Alexa,

• Echo records the utterance.
What time is it?
Alexa terminology in bold.
Alexa,

• Echo records the utterance.
What time is it?
• Echo sends the utterance to the Alexa Service.
• Echo listens for a wake word.
Alexa terminology in bold.
Alexa,

• Echo records the utterance.
What time is it?
• Echo sends the utterance to the Alexa Service.
• The Alexa Service responds.
The time is
eleven seventeen.
• Echo listens for a wake word.
Alexa terminology in bold.
AMAZON ALEXA
How does it work?
Lex
What time is it?
Automatic Speech
Recognition (ASR)
• Lex analyses the waveform for speech.
Audio waveform
Lex
Automatic Speech
Recognition (ASR)
• Lex analyses the waveform for speech.
Audio waveform Text transcript
• Lex converts the speech to text.
Speech to Text
Lex
Automatic Speech
Recognition (ASR)
• Lex analyses the waveform for speech.
Audio waveform Text transcript
Speech to Text
• Lex converts the speech to text.
• Lex applies NLP models to understand the user’s intent.
Natural Language
Understanding (NLU)
User intent
Lex
Automatic Speech
Recognition (ASR)
• Lex analyses the waveform for speech.
Audio waveform Text transcript
Speech to Text
• Lex converts the speech to text.
• Lex applies NLP models to understand the user’s intent.
Natural Language
Understanding (NLU)
User intent Skill invocation
Lambda
Alexa Skill
• Lex invokes a Lambda function for the desired Alexa Skill
Skill invocation
Lambda
Alexa Skill
• Lambda receives the user intent as JSON data.

• Lambda computes an appropriate response.
Skill invocation
Lambda
Alexa Skill
Text response
• Lambda outputs a response as text.
• Lambda receives the user intent as JSON data.

• Lambda computes an appropriate response.
Skill invocation
Lambda
Alexa Skill
Polly
Text to Speech (TTS)
Generate audio
waveform
Text response
• Polly converts the text to speech.
• Lambda outputs a response as text.
• Lambda receives the user intent as JSON data.

• Lambda computes an appropriate response.
Skill invocation
Lambda
Alexa Skill
Polly
Text to Speech (TTS)
Generate audio
waveform
Text response
• Polly converts the text to speech.

• The waveform is sent back to the Echo device.
The time is
eleven seventeen.
• Lambda outputs a response as text.
• Lambda receives the user intent as JSON data.

• Lambda computes an appropriate response.
Make your own
ALEXA Skills
Register as a developer at https://developer.amazon.com. 

this is not the same as an AWS account.STEP 1
STEP 2 Check out the Alexa Skills Kit (ASK)
Define the Interaction Model for your Skill.STEP 3
• Define the intent. These are the requests your Skill can handle. e.g.
Order pizza, Play music, get Tide Times etc.

• Define the words that will invoke your Skill. e.g. "Order a large
pepperoni pizza" maps to an OrderPizza intent.

• Define the required slots (variables) that are required to fulfil a
request. e.g. size: "small/medium/large" pizzaType:"margarita/
pepperoni"

• Define a unique invocation name for your Skill. 

e.g. "Bob’s Pizza"
Alexa terminology in bold.
STEP 3
"Order a large pepperoni pizza from Bob’s Pizza"
intent invocation name
utterance:
Define the Interaction Model for your Skill.
slots
namespaceOrderPizza( size, PizzaType )
Alexa terminology in bold.
STEP 4 Write a Custom Skill as a Lambda function.
Lambda
• Custom Alexa Skills are written as AWS Lambda functions.

• Lambda is a serverless environment for running functions.

• Functions can be written in almost any language. Popular
languages include NodeJS, Python, Ruby, Java, Go and .NET.
Alexa terminology in bold.
Or start with a Blueprint.STEP 4
• Blueprints are pre-built
no-code templates for
an Alexa Skill.
Alexa terminology in bold.
No WiFi version
BLUEPRINTS DEMO
FIN
• Web

https://www.worthingdigital.com

• Meetup

https://www.meetup.com/WorthingDigital/

• Twitter

https://twitter.com/worthingdigital

• YouTube

https://www.youtube.com/user/WorthingDigital
Are you able to help Worthing’s
annual Tide of Light Festival to
program Arduinos and LEDS?
CALL FOR
SUPPORT

More Related Content

What's hot

Intro to Alexa skills development
Intro to Alexa skills developmentIntro to Alexa skills development
Intro to Alexa skills development
Sahil Khosla
 
Amazon Alexa and Echo
Amazon Alexa  and EchoAmazon Alexa  and Echo
Amazon Alexa and Echo
Mahesh Mahajan
 
How to develop Alexa Skill Kit based on Serverless Architecture
How to develop Alexa Skill Kit based on Serverless ArchitectureHow to develop Alexa Skill Kit based on Serverless Architecture
How to develop Alexa Skill Kit based on Serverless Architecture
Hidetaka Okamoto
 
Amazon Alexa
Amazon AlexaAmazon Alexa
Amazon Alexa
Vishal Prajapati
 
Amazon Alexa: our successes and fails
Amazon Alexa: our successes and failsAmazon Alexa: our successes and fails
Amazon Alexa: our successes and fails
Vyacheslav Lyalkin
 
Building Voice Apps & Experiences For Amazon Echo
Building Voice Apps & Experiences For Amazon EchoBuilding Voice Apps & Experiences For Amazon Echo
Building Voice Apps & Experiences For Amazon Echo
Amazon Appstore Developers
 
Alexa Smart Home Skill
Alexa Smart Home SkillAlexa Smart Home Skill
Alexa Smart Home Skill
Jun Ichikawa
 
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
Abe Diaz
 
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
Amazon Web Services
 
Alexa, nice to meet you!
Alexa, nice to meet you! Alexa, nice to meet you!
Alexa, nice to meet you!
Artur Skowroński
 
Amazon Echo
Amazon EchoAmazon Echo
Amazon Echo
antimo musone
 
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
Amazon Web Services
 
Alexa Skills Kit
Alexa Skills KitAlexa Skills Kit
Alexa Skills Kit
Jun Ichikawa
 
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
Mark Bate
 
Building Boston Rail - An Alexa Skill
Building Boston Rail - An Alexa SkillBuilding Boston Rail - An Alexa Skill
Building Boston Rail - An Alexa Skill
Charles J Christina
 
Amazon Alexa Workshop
Amazon Alexa WorkshopAmazon Alexa Workshop
Amazon Alexa Workshop
Amazon Web Services
 
Alexa Skills Kit with Web API on Azure
Alexa Skills Kit with Web API on AzureAlexa Skills Kit with Web API on Azure
Alexa Skills Kit with Web API on Azure
Heather Downing
 
Amazon Alexa Development Overview
Amazon Alexa Development OverviewAmazon Alexa Development Overview
Amazon Alexa Development Overview
John Brady
 
Having fun with alexa
Having fun with alexaHaving fun with alexa
Having fun with alexa
Jeroen Resoort
 
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
Amazon Web Services
 

What's hot (20)

Intro to Alexa skills development
Intro to Alexa skills developmentIntro to Alexa skills development
Intro to Alexa skills development
 
Amazon Alexa and Echo
Amazon Alexa  and EchoAmazon Alexa  and Echo
Amazon Alexa and Echo
 
How to develop Alexa Skill Kit based on Serverless Architecture
How to develop Alexa Skill Kit based on Serverless ArchitectureHow to develop Alexa Skill Kit based on Serverless Architecture
How to develop Alexa Skill Kit based on Serverless Architecture
 
Amazon Alexa
Amazon AlexaAmazon Alexa
Amazon Alexa
 
Amazon Alexa: our successes and fails
Amazon Alexa: our successes and failsAmazon Alexa: our successes and fails
Amazon Alexa: our successes and fails
 
Building Voice Apps & Experiences For Amazon Echo
Building Voice Apps & Experiences For Amazon EchoBuilding Voice Apps & Experiences For Amazon Echo
Building Voice Apps & Experiences For Amazon Echo
 
Alexa Smart Home Skill
Alexa Smart Home SkillAlexa Smart Home Skill
Alexa Smart Home Skill
 
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
 
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
 
Alexa, nice to meet you!
Alexa, nice to meet you! Alexa, nice to meet you!
Alexa, nice to meet you!
 
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
 
Alexa Skills Kit
Alexa Skills KitAlexa Skills Kit
Alexa Skills Kit
 
Voice enable all the things with Alexa
Voice enable all the things with AlexaVoice enable all the things with Alexa
Voice enable all the things with Alexa
 
Building Boston Rail - An Alexa Skill
Building Boston Rail - An Alexa SkillBuilding Boston Rail - An Alexa Skill
Building Boston Rail - An Alexa Skill
 
Amazon Alexa Workshop
Amazon Alexa WorkshopAmazon Alexa Workshop
Amazon Alexa Workshop
 
Alexa Skills Kit with Web API on Azure
Alexa Skills Kit with Web API on AzureAlexa Skills Kit with Web API on Azure
Alexa Skills Kit with Web API on Azure
 
Amazon Alexa Development Overview
Amazon Alexa Development OverviewAmazon Alexa Development Overview
Amazon Alexa Development Overview
 
Having fun with alexa
Having fun with alexaHaving fun with alexa
Having fun with alexa
 
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
 

Similar to Make your own Amazon Alexa 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
Amber Matz
 
(MBL301) Creating Voice Experiences Using Amazon Alexa
(MBL301) Creating Voice Experiences Using Amazon Alexa(MBL301) Creating Voice Experiences Using Amazon Alexa
(MBL301) Creating Voice Experiences Using Amazon Alexa
Amazon Web Services
 
Marcel Pociot "Alexa, let's build a voice-powered app"
Marcel Pociot "Alexa, let's build a voice-powered app"Marcel Pociot "Alexa, let's build a voice-powered app"
Marcel Pociot "Alexa, let's build a voice-powered app"
Fwdays
 
Amazon Alexa Working
Amazon Alexa Working Amazon Alexa Working
Amazon Alexa Working
Dr. Gopal Sakarkar
 
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
 
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
WithTheBest
 
Developing Amazon Alexa Skills with the Go Programming Language
Developing Amazon Alexa Skills with the Go Programming LanguageDeveloping Amazon Alexa Skills with the Go Programming Language
Developing Amazon Alexa Skills with the Go Programming Language
Nic Raboy
 
Building custom skills with Amazon Alexa
Building custom skills with Amazon AlexaBuilding custom skills with Amazon Alexa
Building custom skills with Amazon Alexa
Brian Perera
 
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
Ionut Balan
 
AWS Artificial Intelligence Day - Toronto
AWS Artificial Intelligence Day - TorontoAWS Artificial Intelligence Day - Toronto
AWS Artificial Intelligence Day - Toronto
Amazon Web Services
 
Amazon Web Services - Strategy and Current Offering
Amazon Web Services - Strategy and Current OfferingAmazon Web Services - Strategy and Current Offering
Amazon Web Services - Strategy and Current Offering
Amazon 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 Workshop
Dinah Barrett
 
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
Amazon Web Services
 
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 Web Services
 
Design and Develop Alexa Skills - Codemotion Rome 2019
Design and Develop Alexa Skills - Codemotion Rome 2019Design and Develop Alexa Skills - Codemotion Rome 2019
Design and Develop Alexa Skills - Codemotion Rome 2019
Aleanan
 
Gather some detailed knowledge about Amazon
Gather some detailed knowledge about AmazonGather some detailed knowledge about Amazon
Gather some detailed knowledge about Amazon
pranaymd123
 
WKS403 Build an Alexa Skill using AWS Lambda
WKS403   Build an Alexa Skill using AWS LambdaWKS403   Build an Alexa Skill using AWS Lambda
WKS403 Build an Alexa Skill using AWS Lambda
Amazon Web Services
 
Start building for voice with alexa
Start building for voice with alexaStart building for voice with alexa
Start building for voice with alexa
Eitan Sela
 
An Overview of AI at AWS: Amazon Lex, Amazon Polly, Amazon Rekognition, Apach...
An Overview of AI at AWS: Amazon Lex, Amazon Polly, Amazon Rekognition, Apach...An Overview of AI at AWS: Amazon Lex, Amazon Polly, Amazon Rekognition, Apach...
An Overview of AI at AWS: Amazon Lex, Amazon Polly, Amazon Rekognition, Apach...
Amazon Web Services
 
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...
Amazon Web Services
 

Similar to Make your own Amazon Alexa Skill (20)

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
 
(MBL301) Creating Voice Experiences Using Amazon Alexa
(MBL301) Creating Voice Experiences Using Amazon Alexa(MBL301) Creating Voice Experiences Using Amazon Alexa
(MBL301) Creating Voice Experiences Using Amazon Alexa
 
Marcel Pociot "Alexa, let's build a voice-powered app"
Marcel Pociot "Alexa, let's build a voice-powered app"Marcel Pociot "Alexa, let's build a voice-powered app"
Marcel Pociot "Alexa, let's build a voice-powered app"
 
Amazon Alexa Working
Amazon Alexa Working Amazon Alexa Working
Amazon Alexa Working
 
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 - 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
 
Developing Amazon Alexa Skills with the Go Programming Language
Developing Amazon Alexa Skills with the Go Programming LanguageDeveloping Amazon Alexa Skills with the Go Programming Language
Developing Amazon Alexa Skills with the Go Programming Language
 
Building custom skills with Amazon Alexa
Building custom skills with Amazon AlexaBuilding custom skills with Amazon Alexa
Building custom skills with Amazon Alexa
 
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
 
AWS Artificial Intelligence Day - Toronto
AWS Artificial Intelligence Day - TorontoAWS Artificial Intelligence Day - Toronto
AWS Artificial Intelligence Day - Toronto
 
Amazon Web Services - Strategy and Current Offering
Amazon Web Services - Strategy and Current OfferingAmazon Web Services - Strategy and Current Offering
Amazon Web Services - Strategy and Current Offering
 
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 re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
AWS re:Invent 2016: Workshop: Build an Alexa-Enabled Product with Raspberry P...
 
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.
 
Design and Develop Alexa Skills - Codemotion Rome 2019
Design and Develop Alexa Skills - Codemotion Rome 2019Design and Develop Alexa Skills - Codemotion Rome 2019
Design and Develop Alexa Skills - Codemotion Rome 2019
 
Gather some detailed knowledge about Amazon
Gather some detailed knowledge about AmazonGather some detailed knowledge about Amazon
Gather some detailed knowledge about Amazon
 
WKS403 Build an Alexa Skill using AWS Lambda
WKS403   Build an Alexa Skill using AWS LambdaWKS403   Build an Alexa Skill using AWS Lambda
WKS403 Build an Alexa Skill using AWS Lambda
 
Start building for voice with alexa
Start building for voice with alexaStart building for voice with alexa
Start building for voice with alexa
 
An Overview of AI at AWS: Amazon Lex, Amazon Polly, Amazon Rekognition, Apach...
An Overview of AI at AWS: Amazon Lex, Amazon Polly, Amazon Rekognition, Apach...An Overview of AI at AWS: Amazon Lex, Amazon Polly, Amazon Rekognition, Apach...
An Overview of AI at AWS: Amazon Lex, Amazon Polly, Amazon Rekognition, Apach...
 
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...
 

More from John Dalziel

A Brief History of Time Zones and DST.pdf
A Brief History of Time Zones and DST.pdfA Brief History of Time Zones and DST.pdf
A Brief History of Time Zones and DST.pdf
John Dalziel
 
From zero to website
From zero to websiteFrom zero to website
From zero to website
John Dalziel
 
Introduction to AWS (2020)
Introduction to AWS (2020)Introduction to AWS (2020)
Introduction to AWS (2020)
John Dalziel
 
Web Application Architectures on AWS
Web Application Architectures on AWSWeb Application Architectures on AWS
Web Application Architectures on AWS
John Dalziel
 
Adventures at EMF Camp 2018
Adventures at EMF Camp 2018Adventures at EMF Camp 2018
Adventures at EMF Camp 2018
John Dalziel
 
A brief history of Leap Seconds
A brief history of Leap SecondsA brief history of Leap Seconds
A brief history of Leap Seconds
John Dalziel
 
An Introduction to AWS
An Introduction to AWSAn Introduction to AWS
An Introduction to AWS
John Dalziel
 
Fast Slim Correct: The History and Evolution of JavaScript.
Fast Slim Correct: The History and Evolution of JavaScript.Fast Slim Correct: The History and Evolution of JavaScript.
Fast Slim Correct: The History and Evolution of JavaScript.
John Dalziel
 

More from John Dalziel (8)

A Brief History of Time Zones and DST.pdf
A Brief History of Time Zones and DST.pdfA Brief History of Time Zones and DST.pdf
A Brief History of Time Zones and DST.pdf
 
From zero to website
From zero to websiteFrom zero to website
From zero to website
 
Introduction to AWS (2020)
Introduction to AWS (2020)Introduction to AWS (2020)
Introduction to AWS (2020)
 
Web Application Architectures on AWS
Web Application Architectures on AWSWeb Application Architectures on AWS
Web Application Architectures on AWS
 
Adventures at EMF Camp 2018
Adventures at EMF Camp 2018Adventures at EMF Camp 2018
Adventures at EMF Camp 2018
 
A brief history of Leap Seconds
A brief history of Leap SecondsA brief history of Leap Seconds
A brief history of Leap Seconds
 
An Introduction to AWS
An Introduction to AWSAn Introduction to AWS
An Introduction to AWS
 
Fast Slim Correct: The History and Evolution of JavaScript.
Fast Slim Correct: The History and Evolution of JavaScript.Fast Slim Correct: The History and Evolution of JavaScript.
Fast Slim Correct: The History and Evolution of JavaScript.
 

Recently uploaded

Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 

Recently uploaded (20)

Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 

Make your own Amazon Alexa Skill

  • 1. Make Your Own ALEXA SKILL Tuesday 28th January 02020 John Dalziel @crashposition
  • 2. What we’ll cover • Amazon Echo • Amazon Alexa • How do they work? • The Alexa Skills Kit
  • 4. • Amazon Echo is an internet connected "smart speaker". • The Alexa Service is what makes it "smart". • Launched in 2014 in US. 2016 in UK and Germany. • The newer Echo devices also have a display.
  • 7. Ask the Time Alexa, what time is it? The time is eleven seventeen.
  • 8. Ask Questions Alexa, what is the airspeed velocity of an unladen… According to Wikipedia…
  • 12.
  • 13. Alexa, • Echo listens for a wake word. • Valid wake words are "Alexa", "Echo" and "computer". Alexa terminology in bold.
  • 14. • Echo listens for a wake word. Alexa, • Echo records the utterance. What time is it? Alexa terminology in bold.
  • 15. Alexa, • Echo records the utterance. What time is it? • Echo sends the utterance to the Alexa Service. • Echo listens for a wake word. Alexa terminology in bold.
  • 16. Alexa, • Echo records the utterance. What time is it? • Echo sends the utterance to the Alexa Service. • The Alexa Service responds. The time is eleven seventeen. • Echo listens for a wake word. Alexa terminology in bold.
  • 18. Lex What time is it? Automatic Speech Recognition (ASR) • Lex analyses the waveform for speech. Audio waveform
  • 19. Lex Automatic Speech Recognition (ASR) • Lex analyses the waveform for speech. Audio waveform Text transcript • Lex converts the speech to text. Speech to Text
  • 20. Lex Automatic Speech Recognition (ASR) • Lex analyses the waveform for speech. Audio waveform Text transcript Speech to Text • Lex converts the speech to text. • Lex applies NLP models to understand the user’s intent. Natural Language Understanding (NLU) User intent
  • 21. Lex Automatic Speech Recognition (ASR) • Lex analyses the waveform for speech. Audio waveform Text transcript Speech to Text • Lex converts the speech to text. • Lex applies NLP models to understand the user’s intent. Natural Language Understanding (NLU) User intent Skill invocation Lambda Alexa Skill • Lex invokes a Lambda function for the desired Alexa Skill
  • 22. Skill invocation Lambda Alexa Skill • Lambda receives the user intent as JSON data. • Lambda computes an appropriate response.
  • 23. Skill invocation Lambda Alexa Skill Text response • Lambda outputs a response as text. • Lambda receives the user intent as JSON data. • Lambda computes an appropriate response.
  • 24. Skill invocation Lambda Alexa Skill Polly Text to Speech (TTS) Generate audio waveform Text response • Polly converts the text to speech. • Lambda outputs a response as text. • Lambda receives the user intent as JSON data. • Lambda computes an appropriate response.
  • 25. Skill invocation Lambda Alexa Skill Polly Text to Speech (TTS) Generate audio waveform Text response • Polly converts the text to speech. • The waveform is sent back to the Echo device. The time is eleven seventeen. • Lambda outputs a response as text. • Lambda receives the user intent as JSON data. • Lambda computes an appropriate response.
  • 27. Register as a developer at https://developer.amazon.com. this is not the same as an AWS account.STEP 1
  • 28. STEP 2 Check out the Alexa Skills Kit (ASK)
  • 29. Define the Interaction Model for your Skill.STEP 3 • Define the intent. These are the requests your Skill can handle. e.g. Order pizza, Play music, get Tide Times etc. • Define the words that will invoke your Skill. e.g. "Order a large pepperoni pizza" maps to an OrderPizza intent. • Define the required slots (variables) that are required to fulfil a request. e.g. size: "small/medium/large" pizzaType:"margarita/ pepperoni" • Define a unique invocation name for your Skill. 
 e.g. "Bob’s Pizza" Alexa terminology in bold.
  • 30. STEP 3 "Order a large pepperoni pizza from Bob’s Pizza" intent invocation name utterance: Define the Interaction Model for your Skill. slots namespaceOrderPizza( size, PizzaType ) Alexa terminology in bold.
  • 31. STEP 4 Write a Custom Skill as a Lambda function. Lambda • Custom Alexa Skills are written as AWS Lambda functions. • Lambda is a serverless environment for running functions. • Functions can be written in almost any language. Popular languages include NodeJS, Python, Ruby, Java, Go and .NET. Alexa terminology in bold.
  • 32. Or start with a Blueprint.STEP 4 • Blueprints are pre-built no-code templates for an Alexa Skill. Alexa terminology in bold.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44. FIN
  • 45. • Web
 https://www.worthingdigital.com • Meetup
 https://www.meetup.com/WorthingDigital/ • Twitter
 https://twitter.com/worthingdigital • YouTube
 https://www.youtube.com/user/WorthingDigital
  • 46. Are you able to help Worthing’s annual Tide of Light Festival to program Arduinos and LEDS? CALL FOR SUPPORT