SlideShare a Scribd company logo
Amazon Alexa OverviewJohn Brady, Technical Architect
#NxNWTechMeetup
- Why are Voice first devices getting close to mainstream?
- Why concentrating on Amazon Alexa for now?
- What is Amazon Alexa?
- Alexa Skills Development Overview – Interaction Model
- Account Linking Overview
- OAuth2.0 and OpenID Connect
Agenda
Why?
- Advances in AI, speech recognition and natural language processing.
- Plunging cost of processing and data storage.
What’s next?
- In 2017, will be 24.5 million devices shipped, leading to 33 million voice-first devices in circulation.
- Edison research predict 75% US households will have smart speakers [Amazon Echo, etc.] by end 2020.
- Gartner predicts 30% of web information requests by 2020 will be via audio-centric technologies.
- BMW announced Alexa will be integrated into BMWs starting in mid-2018.
“Whoever wins voice will be the dominant tech company
of the next decade, like Google was for the web
and Intel was for the computing age.”
– Adam Cheynor (Inventor of Siri and founder of Viv –
Voice startup bought by Samsung)
Why are Voice first devices getting close to mainstream?
Why Amazon Alexa?
"Amazon’s Echo speaker will have 70.6% of users in
2017, with Google Home at 23.8% of the market”
Forbes, May 2017
What is Conversational UI?
A conversational user interface is a touchpoint that enables us to use language to interact. It’s a
text message, it’s an airline sending you your boarding pass on Facebook Messenger and
switching you to window seat. It’s asking Alexa what the weather is going to be for weekend?
What is a Voice first device?
A voice-first device is an always-on, intelligent piece of hardware
where the primary interface is voice, both input and output –
Amazon Echo, Amazon Dot or Google Home.
What is Amazon Alexa?
Alexa is an intelligent personal assistant (Software) developed by
Amazon, made popular by Amazon Echo & Amazon Echo Dot
(Hardware).
What is Amazon Alexa?
Amazon Echo Family
#NxNWTechMeetup
Echo Dot - is a hands-free, voice-controlled device that uses the same far-field voice
recognition as Amazon Echo. Dot has a small built-in speaker
Alexa – provides a set of built-in capabilities, referred to as skills, that enable customers to interact with
devices in a more intuitive way using voice.
Alexa Skills Kit (ASK) – lets you add new Skills. It is a collection of self-service APIs, tools, documentation
and code samples that make it fast and easy for you to add skills to Alexa. All of the code runs in the
cloud — nothing is installed on any user device. There are 2 main types of skills – Custom Skills and Smart
Home Skills.
Custom Skills - can handle just about any type of request. You define the requests the skill can handle
(intents) and the words your customers say to invoke those requests (utterances) => Interaction Model.
Alexa Skills - Basics
How does Echo Work?
Uploading Alexa Skill to Amazon Alexa Service
When creating a custom skill, you create the following:
- A set of intents that represent actions that users can do with your skill. Represent the core functionality
of your skill.
- A set of sample utterances that specify the words and phrases users can say to invoke intents. You map
these utterances to your intents and this mapping forms the interaction model.
- An invocation name that identifies the skill.
- A Service or end point that accepts these intents as structured requests and act on them.
Skill Interface
Anatomy of a conversation (Amazon)
Developer Amazon Portal – Interaction Model
Rockie – Room Finder
Linking an Alexa user with a user in your system
Linking an Alexa user with a user in your system
- Account linking is needed when the skill needs to connect with a system that requires authentication.
How Account Linking Works:
 To connect an Alexa user with an account in your system, you need to provide an OAuth access
token that uniquely identifies the user within your system.
 Alexa service stores this token and includes it in requests sent to your skill’s service. Your skill can
then use the token to authenticate with your system on behalf of the user.
- Using account linking in the Alexa Skills Kit requires use of the OAuth 2.0 Authorization Framework.
- Two OAuth authorization grant types are supported (4 OAuth Authorization grant types in total):
- 1. Authorization code grant (More secure but more complex)
- 2. Implicit grant
Linking Alexa user with user in your system – Account Linking
- OAuth 2 is an authorization framework that enables applications to obtain limited access to user
accounts on an HTTP service, such as Facebook or GitHub.
- OAuth Access Token represents user's authorization to perform a certain action which is done by the
application. It is used for accessing endpoints over HTTP carried in the Authorization header
- OpenID Connect is a simple identity layer built on top of the OAuth 2.0 protocol.
- OpenID Connect is recommendation if you are building a web application that is hosted on a server and
accessed via a browser.
The OAuth 2.0 Authorization Framework: https://tools.ietf.org/html/rfc6749
OpenID Connect Core: http://openid.net/specs/openid-connect-core-1_0.html
OAuth2 Authorization and OpenID Connect
Q&A
References
• https://developer.amazon.com/alexa
• https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/linking-
an-alexa-user-with-a-user-in-your-system
• https://tools.ietf.org/html/rfc6749 (OAuth 2.0 Authorization Framework)
• http://openid.net/specs/openid-connect-core-1_0.html
• https://www.thoughtworks.com/insights/blog/why-conversational-ui-why-
now?utm_campaign=innovation&utm_medium=social&utm_source=twitter
• https://nodeschool.io/

More Related Content

What's hot

What i-wish-i-knew-about-aws-certification
What i-wish-i-knew-about-aws-certificationWhat i-wish-i-knew-about-aws-certification
What i-wish-i-knew-about-aws-certification
Andrew Brown
 
(CMP201) All You Need To Know About Auto Scaling
(CMP201) All You Need To Know About Auto Scaling(CMP201) All You Need To Know About Auto Scaling
(CMP201) All You Need To Know About Auto Scaling
Amazon Web Services
 
Amazon Alexa
Amazon AlexaAmazon Alexa
Amazon Alexa
Akhil john
 
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
 
Introduction to Identity and Access Management (IAM)
Introduction to Identity and Access Management (IAM)Introduction to Identity and Access Management (IAM)
Introduction to Identity and Access Management (IAM)
Amazon Web Services
 
Automation With A Tool Demo
Automation With A Tool DemoAutomation With A Tool Demo
Automation With A Tool Demo
Nivetha Padmanaban
 
Auto Scaling on AWS
Auto Scaling on AWSAuto Scaling on AWS
Auto Scaling on AWS
AustinWebArch
 
Automation testing
Automation testingAutomation testing
Automation testing
Biswajit Pratihari
 
Amazon alexa ppt
Amazon alexa pptAmazon alexa ppt
Amazon alexa ppt
VishalHotchandani2
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
SWAAM Tech
 
AWS Interview Questions Part - 1 | AWS Interview Questions And Answers Part -...
AWS Interview Questions Part - 1 | AWS Interview Questions And Answers Part -...AWS Interview Questions Part - 1 | AWS Interview Questions And Answers Part -...
AWS Interview Questions Part - 1 | AWS Interview Questions And Answers Part -...
Simplilearn
 
AWS Tutorial | AWS Certified Solutions Architect | Amazon AWS | AWS Training ...
AWS Tutorial | AWS Certified Solutions Architect | Amazon AWS | AWS Training ...AWS Tutorial | AWS Certified Solutions Architect | Amazon AWS | AWS Training ...
AWS Tutorial | AWS Certified Solutions Architect | Amazon AWS | AWS Training ...
Edureka!
 
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 )
Harish Ganesan
 
Introduction to CloudFront
Introduction to CloudFrontIntroduction to CloudFront
Introduction to CloudFront
Amazon Web Services
 
AWS Architecting In The Cloud
AWS Architecting In The CloudAWS Architecting In The Cloud
AWS Architecting In The Cloud
Amazon Web Services
 
A Walk in the Cloud with AWS Lambda
A Walk in the Cloud with AWS LambdaA Walk in the Cloud with AWS Lambda
A Walk in the Cloud with AWS Lambda
Amazon Web Services
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
Amazon Web Services
 
Deep Dive on Amazon S3 Security and Management (E2471STG303-R1) - AWS re:Inve...
Deep Dive on Amazon S3 Security and Management (E2471STG303-R1) - AWS re:Inve...Deep Dive on Amazon S3 Security and Management (E2471STG303-R1) - AWS re:Inve...
Deep Dive on Amazon S3 Security and Management (E2471STG303-R1) - AWS re:Inve...
Amazon Web Services
 
Intro to Amazon S3
Intro to Amazon S3Intro to Amazon S3
Intro to Amazon S3
Yu Lun Teo
 
What is AWS?
What is AWS?What is AWS?
What is AWS?
Martin Yan
 

What's hot (20)

What i-wish-i-knew-about-aws-certification
What i-wish-i-knew-about-aws-certificationWhat i-wish-i-knew-about-aws-certification
What i-wish-i-knew-about-aws-certification
 
(CMP201) All You Need To Know About Auto Scaling
(CMP201) All You Need To Know About Auto Scaling(CMP201) All You Need To Know About Auto Scaling
(CMP201) All You Need To Know About Auto Scaling
 
Amazon Alexa
Amazon AlexaAmazon Alexa
Amazon Alexa
 
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
 
Introduction to Identity and Access Management (IAM)
Introduction to Identity and Access Management (IAM)Introduction to Identity and Access Management (IAM)
Introduction to Identity and Access Management (IAM)
 
Automation With A Tool Demo
Automation With A Tool DemoAutomation With A Tool Demo
Automation With A Tool Demo
 
Auto Scaling on AWS
Auto Scaling on AWSAuto Scaling on AWS
Auto Scaling on AWS
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Amazon alexa ppt
Amazon alexa pptAmazon alexa ppt
Amazon alexa ppt
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
 
AWS Interview Questions Part - 1 | AWS Interview Questions And Answers Part -...
AWS Interview Questions Part - 1 | AWS Interview Questions And Answers Part -...AWS Interview Questions Part - 1 | AWS Interview Questions And Answers Part -...
AWS Interview Questions Part - 1 | AWS Interview Questions And Answers Part -...
 
AWS Tutorial | AWS Certified Solutions Architect | Amazon AWS | AWS Training ...
AWS Tutorial | AWS Certified Solutions Architect | Amazon AWS | AWS Training ...AWS Tutorial | AWS Certified Solutions Architect | Amazon AWS | AWS Training ...
AWS Tutorial | AWS Certified Solutions Architect | Amazon AWS | AWS Training ...
 
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 )
 
Introduction to CloudFront
Introduction to CloudFrontIntroduction to CloudFront
Introduction to CloudFront
 
AWS Architecting In The Cloud
AWS Architecting In The CloudAWS Architecting In The Cloud
AWS Architecting In The Cloud
 
A Walk in the Cloud with AWS Lambda
A Walk in the Cloud with AWS LambdaA Walk in the Cloud with AWS Lambda
A Walk in the Cloud with AWS Lambda
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
Deep Dive on Amazon S3 Security and Management (E2471STG303-R1) - AWS re:Inve...
Deep Dive on Amazon S3 Security and Management (E2471STG303-R1) - AWS re:Inve...Deep Dive on Amazon S3 Security and Management (E2471STG303-R1) - AWS re:Inve...
Deep Dive on Amazon S3 Security and Management (E2471STG303-R1) - AWS re:Inve...
 
Intro to Amazon S3
Intro to Amazon S3Intro to Amazon S3
Intro to Amazon S3
 
What is AWS?
What is AWS?What is AWS?
What is AWS?
 

Similar to Amazon Alexa Development Overview

An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
Amazon Web Services
 
Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017
Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017
Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017
Amazon Web Services
 
Raleigh DevDay 2017: Distributed Deep Learning on AWS with Apache MXNet
Raleigh DevDay 2017: Distributed Deep Learning on AWS with Apache MXNetRaleigh DevDay 2017: Distributed Deep Learning on AWS with Apache MXNet
Raleigh DevDay 2017: Distributed Deep Learning on AWS with Apache MXNet
Amazon Web Services
 
BDA310 An Introduction to the AI services at AWS
BDA310 An Introduction to the AI services at AWSBDA310 An Introduction to the AI services at AWS
BDA310 An Introduction to the AI services at AWS
Amazon Web Services
 
Integrate drupal 8 with alexa - Rakshith
Integrate drupal 8 with alexa - RakshithIntegrate drupal 8 with alexa - Rakshith
Integrate drupal 8 with alexa - Rakshith
Rakshith Tb
 
使用 Amazon Lex 在應用程式中建立對話式機器人
使用 Amazon Lex 在應用程式中建立對話式機器人 使用 Amazon Lex 在應用程式中建立對話式機器人
使用 Amazon Lex 在應用程式中建立對話式機器人
Amazon Web Services
 
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
 
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
 
Announcing Amazon Lex - January 2017 AWS Online Tech Talks
Announcing Amazon Lex - January 2017 AWS Online Tech TalksAnnouncing Amazon Lex - January 2017 AWS Online Tech Talks
Announcing Amazon Lex - January 2017 AWS Online Tech Talks
Amazon Web Services
 
Alexapi on Amazon Ecosystem for Home Assistant Environment and IFTTT Recipes
Alexapi on Amazon Ecosystem for Home Assistant Environment and IFTTT RecipesAlexapi on Amazon Ecosystem for Home Assistant Environment and IFTTT Recipes
Alexapi on Amazon Ecosystem for Home Assistant Environment and IFTTT Recipes
IRJET Journal
 
AI Overview
AI OverviewAI Overview
AI Overview
Amazon Web Services
 
Hackster DFW - Amazon Echo Workshop
Hackster DFW - Amazon Echo WorkshopHackster DFW - Amazon Echo Workshop
Hackster DFW - Amazon Echo Workshop
Ron Dagdag
 
Amazon Alexa Home Automation Skills
Amazon Alexa Home Automation SkillsAmazon Alexa Home Automation Skills
Amazon Alexa Home Automation Skills
All Things Open
 
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Lex (MAC304)
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Lex (MAC304)AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Lex (MAC304)
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Lex (MAC304)
Amazon Web Services
 
IRJET- Automation using Alexa and Raspberry Pi
IRJET- Automation using Alexa and Raspberry PiIRJET- Automation using Alexa and Raspberry Pi
IRJET- Automation using Alexa and Raspberry Pi
IRJET Journal
 
Serverless Generative AI on AWS, AWS User Groups of Florida
Serverless Generative AI on AWS, AWS User Groups of FloridaServerless Generative AI on AWS, AWS User Groups of Florida
Serverless Generative AI on AWS, AWS User Groups of Florida
CloudHesive
 
Introducing Amazon Lex
Introducing Amazon Lex Introducing Amazon Lex
Introducing Amazon Lex
Amazon Web Services
 
AWS物聯網基礎架構及連線概覽
AWS物聯網基礎架構及連線概覽AWS物聯網基礎架構及連線概覽
AWS物聯網基礎架構及連線概覽
Amazon Web Services
 
Deep Dive: Amazon Lex
Deep Dive: Amazon LexDeep Dive: Amazon Lex
Deep Dive: Amazon Lex
Amazon Web Services
 
Building a Better .NET Bot with AWS Services - WIN205 - re:Invent 2017
Building a Better .NET Bot with AWS Services - WIN205 - re:Invent 2017Building a Better .NET Bot with AWS Services - WIN205 - re:Invent 2017
Building a Better .NET Bot with AWS Services - WIN205 - re:Invent 2017
Amazon Web Services
 

Similar to Amazon Alexa Development Overview (20)

An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
 
Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017
Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017
Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017
 
Raleigh DevDay 2017: Distributed Deep Learning on AWS with Apache MXNet
Raleigh DevDay 2017: Distributed Deep Learning on AWS with Apache MXNetRaleigh DevDay 2017: Distributed Deep Learning on AWS with Apache MXNet
Raleigh DevDay 2017: Distributed Deep Learning on AWS with Apache MXNet
 
BDA310 An Introduction to the AI services at AWS
BDA310 An Introduction to the AI services at AWSBDA310 An Introduction to the AI services at AWS
BDA310 An Introduction to the AI services at AWS
 
Integrate drupal 8 with alexa - Rakshith
Integrate drupal 8 with alexa - RakshithIntegrate drupal 8 with alexa - Rakshith
Integrate drupal 8 with alexa - Rakshith
 
使用 Amazon Lex 在應用程式中建立對話式機器人
使用 Amazon Lex 在應用程式中建立對話式機器人 使用 Amazon Lex 在應用程式中建立對話式機器人
使用 Amazon Lex 在應用程式中建立對話式機器人
 
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...
 
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.
 
Announcing Amazon Lex - January 2017 AWS Online Tech Talks
Announcing Amazon Lex - January 2017 AWS Online Tech TalksAnnouncing Amazon Lex - January 2017 AWS Online Tech Talks
Announcing Amazon Lex - January 2017 AWS Online Tech Talks
 
Alexapi on Amazon Ecosystem for Home Assistant Environment and IFTTT Recipes
Alexapi on Amazon Ecosystem for Home Assistant Environment and IFTTT RecipesAlexapi on Amazon Ecosystem for Home Assistant Environment and IFTTT Recipes
Alexapi on Amazon Ecosystem for Home Assistant Environment and IFTTT Recipes
 
AI Overview
AI OverviewAI Overview
AI Overview
 
Hackster DFW - Amazon Echo Workshop
Hackster DFW - Amazon Echo WorkshopHackster DFW - Amazon Echo Workshop
Hackster DFW - Amazon Echo Workshop
 
Amazon Alexa Home Automation Skills
Amazon Alexa Home Automation SkillsAmazon Alexa Home Automation Skills
Amazon Alexa Home Automation Skills
 
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Lex (MAC304)
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Lex (MAC304)AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Lex (MAC304)
AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Lex (MAC304)
 
IRJET- Automation using Alexa and Raspberry Pi
IRJET- Automation using Alexa and Raspberry PiIRJET- Automation using Alexa and Raspberry Pi
IRJET- Automation using Alexa and Raspberry Pi
 
Serverless Generative AI on AWS, AWS User Groups of Florida
Serverless Generative AI on AWS, AWS User Groups of FloridaServerless Generative AI on AWS, AWS User Groups of Florida
Serverless Generative AI on AWS, AWS User Groups of Florida
 
Introducing Amazon Lex
Introducing Amazon Lex Introducing Amazon Lex
Introducing Amazon Lex
 
AWS物聯網基礎架構及連線概覽
AWS物聯網基礎架構及連線概覽AWS物聯網基礎架構及連線概覽
AWS物聯網基礎架構及連線概覽
 
Deep Dive: Amazon Lex
Deep Dive: Amazon LexDeep Dive: Amazon Lex
Deep Dive: Amazon Lex
 
Building a Better .NET Bot with AWS Services - WIN205 - re:Invent 2017
Building a Better .NET Bot with AWS Services - WIN205 - re:Invent 2017Building a Better .NET Bot with AWS Services - WIN205 - re:Invent 2017
Building a Better .NET Bot with AWS Services - WIN205 - re:Invent 2017
 

Recently uploaded

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
 
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
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
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.
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
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
 
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
 
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
 
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
 
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
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 

Recently uploaded (20)

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
 
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
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
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...
 
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
 
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
 
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
 
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
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 

Amazon Alexa Development Overview

  • 1. Amazon Alexa OverviewJohn Brady, Technical Architect #NxNWTechMeetup
  • 2. - Why are Voice first devices getting close to mainstream? - Why concentrating on Amazon Alexa for now? - What is Amazon Alexa? - Alexa Skills Development Overview – Interaction Model - Account Linking Overview - OAuth2.0 and OpenID Connect Agenda
  • 3. Why? - Advances in AI, speech recognition and natural language processing. - Plunging cost of processing and data storage. What’s next? - In 2017, will be 24.5 million devices shipped, leading to 33 million voice-first devices in circulation. - Edison research predict 75% US households will have smart speakers [Amazon Echo, etc.] by end 2020. - Gartner predicts 30% of web information requests by 2020 will be via audio-centric technologies. - BMW announced Alexa will be integrated into BMWs starting in mid-2018. “Whoever wins voice will be the dominant tech company of the next decade, like Google was for the web and Intel was for the computing age.” – Adam Cheynor (Inventor of Siri and founder of Viv – Voice startup bought by Samsung) Why are Voice first devices getting close to mainstream?
  • 4. Why Amazon Alexa? "Amazon’s Echo speaker will have 70.6% of users in 2017, with Google Home at 23.8% of the market” Forbes, May 2017
  • 5. What is Conversational UI? A conversational user interface is a touchpoint that enables us to use language to interact. It’s a text message, it’s an airline sending you your boarding pass on Facebook Messenger and switching you to window seat. It’s asking Alexa what the weather is going to be for weekend? What is a Voice first device? A voice-first device is an always-on, intelligent piece of hardware where the primary interface is voice, both input and output – Amazon Echo, Amazon Dot or Google Home. What is Amazon Alexa? Alexa is an intelligent personal assistant (Software) developed by Amazon, made popular by Amazon Echo & Amazon Echo Dot (Hardware). What is Amazon Alexa?
  • 7. Echo Dot - is a hands-free, voice-controlled device that uses the same far-field voice recognition as Amazon Echo. Dot has a small built-in speaker Alexa – provides a set of built-in capabilities, referred to as skills, that enable customers to interact with devices in a more intuitive way using voice. Alexa Skills Kit (ASK) – lets you add new Skills. It is a collection of self-service APIs, tools, documentation and code samples that make it fast and easy for you to add skills to Alexa. All of the code runs in the cloud — nothing is installed on any user device. There are 2 main types of skills – Custom Skills and Smart Home Skills. Custom Skills - can handle just about any type of request. You define the requests the skill can handle (intents) and the words your customers say to invoke those requests (utterances) => Interaction Model. Alexa Skills - Basics
  • 9. Uploading Alexa Skill to Amazon Alexa Service
  • 10. When creating a custom skill, you create the following: - A set of intents that represent actions that users can do with your skill. Represent the core functionality of your skill. - A set of sample utterances that specify the words and phrases users can say to invoke intents. You map these utterances to your intents and this mapping forms the interaction model. - An invocation name that identifies the skill. - A Service or end point that accepts these intents as structured requests and act on them. Skill Interface
  • 11. Anatomy of a conversation (Amazon)
  • 12. Developer Amazon Portal – Interaction Model
  • 13. Rockie – Room Finder
  • 14. Linking an Alexa user with a user in your system
  • 15. Linking an Alexa user with a user in your system
  • 16. - Account linking is needed when the skill needs to connect with a system that requires authentication. How Account Linking Works:  To connect an Alexa user with an account in your system, you need to provide an OAuth access token that uniquely identifies the user within your system.  Alexa service stores this token and includes it in requests sent to your skill’s service. Your skill can then use the token to authenticate with your system on behalf of the user. - Using account linking in the Alexa Skills Kit requires use of the OAuth 2.0 Authorization Framework. - Two OAuth authorization grant types are supported (4 OAuth Authorization grant types in total): - 1. Authorization code grant (More secure but more complex) - 2. Implicit grant Linking Alexa user with user in your system – Account Linking
  • 17. - OAuth 2 is an authorization framework that enables applications to obtain limited access to user accounts on an HTTP service, such as Facebook or GitHub. - OAuth Access Token represents user's authorization to perform a certain action which is done by the application. It is used for accessing endpoints over HTTP carried in the Authorization header - OpenID Connect is a simple identity layer built on top of the OAuth 2.0 protocol. - OpenID Connect is recommendation if you are building a web application that is hosted on a server and accessed via a browser. The OAuth 2.0 Authorization Framework: https://tools.ietf.org/html/rfc6749 OpenID Connect Core: http://openid.net/specs/openid-connect-core-1_0.html OAuth2 Authorization and OpenID Connect
  • 18. Q&A
  • 19. References • https://developer.amazon.com/alexa • https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/linking- an-alexa-user-with-a-user-in-your-system • https://tools.ietf.org/html/rfc6749 (OAuth 2.0 Authorization Framework) • http://openid.net/specs/openid-connect-core-1_0.html • https://www.thoughtworks.com/insights/blog/why-conversational-ui-why- now?utm_campaign=innovation&utm_medium=social&utm_source=twitter • https://nodeschool.io/

Editor's Notes

  1. > Amazon released Echo 36 months ago > Google home Apple Siri (Much to be done) Microsoft Cortana > Soon to be released Microsoft Invoke and Apple HomePod
  2. > Amazon released Echo 36 months ago > Google home Apple Siri (Much to be done) Microsoft Cortana > Soon to be released Microsoft Invoke and Apple HomePod
  3. Next slides will go into more depth on interaction model
  4. Basics of the Alexa State Machine Tell => terminates the session with the response (Straight Forward Request Response) Ask => Send a response but ask more questions (Keep Session Open) The Response Object This object returns four methods: tell, tellWithCard, ask, and askWithCard. The Tell Methods tell(speechOutput) tellWithCard(speechOutput, cardTitle, cardContent) We have two methods here which will respond to the user and end the session. First is tell, which accepts a string that Alexa will speak to the user, and tellWithCard, which accepts a string that Alexa speaks to the user, a string that serves as the card title, and a string that serves as the body of the card. The card is displayed within the Amazon Echo app. The Ask Methods ask(speechOutput, repromptSpeech) askWithCard(speechOutput, repromptSpeech, cardTitle, cardContent) These methods are just like the tell methods, except for two key differences. First, the session is kept open, waiting for a further response from the user. Second, the second argument is a string that Alexa will speak to the user if they haven’t responded to specify what they want.
  5. Intent – determine what function within the handler will be executed. Amazon have predefined Intents
  6. Amazon ASK CLI for deployments rather than manually configuring in developer.amazon.com GUI.
  7. The Response Object This object returns four methods: tell, tellWithCard, ask, and askWithCard. The Tell Methods tell(speechOutput) tellWithCard(speechOutput, cardTitle, cardContent) We have two methods here which will respond to the user and end the session. First is tell, which accepts a string that Alexa will speak to the user, and tellWithCard, which accepts a string that Alexa speaks to the user, a string that serves as the card title, and a string that serves as the body of the card. The card is displayed within the Amazon Echo app. The Ask Methods ask(speechOutput, repromptSpeech) askWithCard(speechOutput, repromptSpeech, cardTitle, cardContent) These methods are just like the tell methods, except for two key differences. First, the session is kept open, waiting for a further response from the user. Second, the second argument is a string that Alexa will speak to the user if they haven’t responded to specify what they want.
  8. The Response Object Authorization versus Authentication Emit Types Below. This object returns four methods: tell, tellWithCard (Card gets send to the app associate with Echo Dot), ask, and askWithCard. The Tell Methods (Closes the session after sending the response) tell(speechOutput) tellWithCard(speechOutput, cardTitle, cardContent) We have two methods here which will respond to the user and end the session. First is tell, which accepts a string that Alexa will speak to the user, and tellWithCard, which accepts a string that Alexa speaks to the user, a string that serves as the card title, and a string that serves as the body of the card. The card is displayed within the Amazon Echo app. The Ask Methods (Keep session open (Multiple request/response cycles) for asking more questions – e.g. booking a holiday, get more info) ask(speechOutput, repromptSpeech) askWithCard(speechOutput, repromptSpeech, cardTitle, cardContent) These methods are just like the tell methods, except for two key differences. First, the session is kept open, waiting for a further response from the user. Second, the second argument is a string that Alexa will speak to the user if they haven’t responded to specify what they want. The primary difference between these two types is in how the access token is obtained from your system. From the end user’s perspective, there is no difference.
  9. > OAuth 2.0 Underlying security platform > Alexa proprietary signature validation Resource Owner Role: User The resource owner is the user who authorizes an application to access their account. The application's access to the user's account is limited to the "scope" of the authorization granted (e.g. read or write access). Resource Role / Authorization Server Role: API The resource server hosts the protected user accounts, and the authorization server verifies the identity of the user then issues access tokens to the application. From an application developer's point of view, a service's API fulfills both the resource and authorization server roles. We will refer to both of these roles combined, as the Service or API role. Client: Application The client is the application that wants to access the user's account. Before it may do so, it must be authorized by the user, and the authorization must be validated by the API.
  10. The Response Object This object returns four methods: tell, tellWithCard, ask, and askWithCard. The Tell Methods tell(speechOutput) tellWithCard(speechOutput, cardTitle, cardContent) We have two methods here which will respond to the user and end the session. First is tell, which accepts a string that Alexa will speak to the user, and tellWithCard, which accepts a string that Alexa speaks to the user, a string that serves as the card title, and a string that serves as the body of the card. The card is displayed within the Amazon Echo app. The Ask Methods ask(speechOutput, repromptSpeech) askWithCard(speechOutput, repromptSpeech, cardTitle, cardContent) These methods are just like the tell methods, except for two key differences. First, the session is kept open, waiting for a further response from the user. Second, the second argument is a string that Alexa will speak to the user if they haven’t responded to specify what they want.