SlideShare a Scribd company logo
Building Alexa Skills
With Java on AWS
-Buddha Jyothiprasad
Outline
• Understand Requirements
• Create the skill interface
• Develop Lambda for handling intents
• Use slots to extract data
• Use DynamoDB to persist data
About Me
SLIDE # 3
Buddha Jyothiprasad
@prbuddha
Controlspace.info
JUG Lead for Hyderabad Java User
Group, Open source Contributor and an
Author at Pluralsight
Personal Skills Work Experience
SDE
Amazon
Developer
Oracle
Test Automation Engg.
IBM
AWS
JavaFX
Java
Automation
Disclaimer
I’m not representing Amazon’s view nor this should be treated as marketing for an
Amazon’s product. I did not work in Alexa team, so I can be wrong in some
aspects. Please do not mind.
How does it work
SLIDE # 5
Echo
How does it work
SLIDE # 6
Alexa voice
service
Echo
How does it work
SLIDE # 7
Alexa voice
service
Echo
Lambda
function
Traditional
server
How does it work
SLIDE # 8
Alexa voice
service
Echo
Lambda
function
Traditional
server
Alexa enabled device Amazon dev portal Service endpoints
Lets get technical
COMPANY NAME SLIDE # 9
User command
User of Alexa
gives a
command
Listen
Alexa enabled
devices listens
the commands
Send to cloud
Device sends
the command to
Alexa Service
Understand
Alexa skill
understands the
intent
Lets get technical
COMPANY NAME SLIDE # 10
command
of Alexa
a
mand
Listen
Alexa enabled
devices listens
the commands
Send to cloud
Device sends
the command to
Alexa Service
Understand
Alexa skill
understands the
intent
Invoke Code
Alexa voice
service calls
lambda
Lets get technical
COMPANY NAME SLIDE # 11
Invoke Code
Alexa voice
service calls
lambda
Data
If required data
is fetched from
dynamo db
Logging
Any errors are
logged to cloud
watch by
Lets get technical
COMPANY NAME SLIDE # 12
Invoke Code
Alexa voice
service calls
lambda
Data
If required data
is fetched from
dynamo db
Logging
Any errors are
logged to cloud
watch by
Lets get technical
COMPANY NAME SLIDE # 13
Handle response
Textual
response is
received
Invoke Code
Alexa voice
service calls
lambda
Data
If required data
is fetched from
dynamo db
Logging
Any errors are
logged to cloud
watch by
Lets get technical
COMPANY NAME SLIDE # 14
Response Prep
Response to
audio and card
Handle response
Textual
response is
received
Invoke Code
Alexa voice
service calls
lambda
Data
If required data
is fetched from
dynamo db
Lo
An
log
wa
Lets get technical
COMPANY NAME SLIDE # 15
Play response
Response
received is
announced
Response Prep
Response to
audio and card
Handle response
Textual
response is
received
Invoke Code
Alexa voice
service calls
lambda
Data
If req
is fetc
dynam
Lets get technical
COMPANY NAME SLIDE # 16
User is happy
Can enjoy with
his freed hands
Play response
Response
received is
announced
Response Prep
Response to
audio and card
Handle response
Textual
response is
received
Process To Create an Alexa Skill
Create skill in Alexa
developer portal
Intent Slots Interfaces
Create several intents
to capture User’s
intention
Any data to be
extracted with the help
of slots
Configure any
interfaces like audio
player etc.,
Process To Create an Alexa Skill
Create skill in
Alexa
developer
portal
Intent Slots Interfaces
Create several intents
to capture User’s
intention
Any data to be
extracted with the help
of slots
Configure any
interfaces like audio
player etc.,
• What is the weather today
• Please tell me today’s news
• Add milk to my shopping list
• Add slides preparation in
TODO
• Please play music by Lady
Gaga
Process To Create an Alexa Skill
Create skill in
Alexa
developer
portal
Intent Slots Interfaces
Create several intents
to capture User’s
intention
Any data to be
extracted with the help
of slots
Configure any
interfaces like audio
player etc.,
• What is the weather today
• Please tell me today’s news
• Add milk to my shopping list
• Add slides preparation in
TODO
• Please play music by Lady
Gaga
Process To Create an Alexa Skill
Create skill in
Alexa
developer
portal
Intent Slots Interfaces
Create several intents
to capture User’s
intention
Any data to be
extracted with the help
of slots
Configure any
interfaces like audio
player etc.,
• What is the weather today
• Please tell me today’s news
• Add milk to my shopping list
• Add slides preparation in
TODO
• Please play music by Lady
Gaga
Process To Create an Alexa Skill
Create skill in
Alexa
developer
portal
Intent Slots Interfaces
Create several intents
to capture User’s
intention
Any data to be
extracted with the help
of slots
Configure any
interfaces like audio
player etc.,
• What is the weather today
• Please tell me today’s news
• Add milk to my shopping list
• Add slides preparation in
TODO
• Please play music by Lady
Gaga
Process To Create an Alexa Skill
Create skill in
Alexa
developer
portal
Intent Slots Interfaces
Create several intents
to capture User’s
intention
Any data to be
extracted with the help
of slots
Configure any
interfaces like audio
player etc.,
• Today you can expect rain
• India and Pakistan made peace
• Milk is added to your shopping
list
• Slides preparation Added in
TODO
• Shuffling music by Lady Gaga
Process To Create an Alexa Skill
Create skill in Alexa
developer portal
Intent Slots Interfaces
Create several intents
to capture User’s
intention
Any data to be
extracted with the help
of slots
Configure any
interfaces like audio
player etc.,
Process To Create an Alexa Skill
Create skill in Alexa
developer portal
Intent Slots Interfaces
Create several intents
to capture User’s
intention
Any data to be
extracted with the help
of slots
Configure any
interfaces like audio
player etc.,
Configure EndPoint
Process To Create an Alexa Skill
Create skill in Alexa
developer portal
Intent Slots Interfaces
Create several intents
to capture User’s
intention
Any data to be
extracted with the help
of slots
Configure any
interfaces like audio
player etc.,
Configure EndPoint
Develop Lambda Deploy Lambda Give required permissions
Demo
• Create the skill interface
• Develop Lambda for handling intents
• Use slots to extract data
• Use DynamoDB to persist data
https://developer.amazon.com/alexa-skills-kit
Next Steps

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
 
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: our successes and fails
Amazon Alexa: our successes and failsAmazon Alexa: our successes and fails
Amazon Alexa: our successes and failsVyacheslav Lyalkin
 
Alexa in 10 minutes
Alexa in 10 minutesAlexa in 10 minutes
Alexa in 10 minutes
James Burt
 
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
 
Alexa Smart Home Skill
Alexa Smart Home SkillAlexa Smart Home Skill
Alexa Smart Home Skill
Jun Ichikawa
 
AWS re:Invent 2016: From VUI to QA: Building a Voice-Based Adventure Game for...
AWS re:Invent 2016: From VUI to QA: Building a Voice-Based Adventure Game for...AWS re:Invent 2016: From VUI to QA: Building a Voice-Based Adventure Game for...
AWS re:Invent 2016: From VUI to QA: Building a Voice-Based Adventure Game for...
Amazon Web Services
 
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
 
Building Boston Rail - An Alexa Skill
Building Boston Rail - An Alexa SkillBuilding Boston Rail - An Alexa Skill
Building Boston Rail - An Alexa SkillCharles J Christina
 
Amazon Alexa and Echo
Amazon Alexa  and EchoAmazon Alexa  and Echo
Amazon Alexa and Echo
Mahesh Mahajan
 
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
 
Amazon Echo
Amazon EchoAmazon Echo
Amazon Echo
antimo musone
 
Creating IoT Solutions with Serverless Architecture & Alexa
Creating IoT Solutions with Serverless Architecture & AlexaCreating IoT Solutions with Serverless Architecture & Alexa
Creating IoT Solutions with Serverless Architecture & Alexa
Amazon Web Services
 
AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)
AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)
AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)
Amazon Web Services
 
Develop Alexa Skills for Amazon Echo with PHP
Develop Alexa Skills for Amazon Echo with PHPDevelop Alexa Skills for Amazon Echo with PHP
Develop Alexa Skills for Amazon Echo with PHP
Ralf Eggert
 
ALX319_It’s All in the Data
ALX319_It’s All in the DataALX319_It’s All in the Data
ALX319_It’s All in the Data
Amazon Web Services
 
New skills for Alexa using Alexa.NET
New skills for Alexa using Alexa.NETNew skills for Alexa using Alexa.NET
New skills for Alexa using Alexa.NET
Miguel Angel Teheran Garcia
 
Amazon Alexa
Amazon AlexaAmazon Alexa
Amazon Alexa
Vishal Prajapati
 
AWS re:Invent 2016: State of the Union: Amazon Alexa and Recent Advances in C...
AWS re:Invent 2016: State of the Union: Amazon Alexa and Recent Advances in C...AWS re:Invent 2016: State of the Union: Amazon Alexa and Recent Advances in C...
AWS re:Invent 2016: State of the Union: Amazon Alexa and Recent Advances in C...
Amazon Web Services
 
ALX326_Applying Alexa’s Natural Language to Your Challenges
ALX326_Applying Alexa’s Natural Language to Your ChallengesALX326_Applying Alexa’s Natural Language to Your Challenges
ALX326_Applying Alexa’s Natural Language to Your Challenges
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
 
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: our successes and fails
Amazon Alexa: our successes and failsAmazon Alexa: our successes and fails
Amazon Alexa: our successes and fails
 
Alexa in 10 minutes
Alexa in 10 minutesAlexa in 10 minutes
Alexa in 10 minutes
 
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
 
Alexa Smart Home Skill
Alexa Smart Home SkillAlexa Smart Home Skill
Alexa Smart Home Skill
 
AWS re:Invent 2016: From VUI to QA: Building a Voice-Based Adventure Game for...
AWS re:Invent 2016: From VUI to QA: Building a Voice-Based Adventure Game for...AWS re:Invent 2016: From VUI to QA: Building a Voice-Based Adventure Game for...
AWS re:Invent 2016: From VUI to QA: Building a Voice-Based Adventure Game for...
 
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 Boston Rail - An Alexa Skill
Building Boston Rail - An Alexa SkillBuilding Boston Rail - An Alexa Skill
Building Boston Rail - An Alexa Skill
 
Amazon Alexa and Echo
Amazon Alexa  and EchoAmazon Alexa  and Echo
Amazon Alexa and Echo
 
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 Echo
Amazon EchoAmazon Echo
Amazon Echo
 
Creating IoT Solutions with Serverless Architecture & Alexa
Creating IoT Solutions with Serverless Architecture & AlexaCreating IoT Solutions with Serverless Architecture & Alexa
Creating IoT Solutions with Serverless Architecture & Alexa
 
AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)
AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)
AWS re:Invent 2016: Building a Smarter Home with Alexa(ALX303)
 
Develop Alexa Skills for Amazon Echo with PHP
Develop Alexa Skills for Amazon Echo with PHPDevelop Alexa Skills for Amazon Echo with PHP
Develop Alexa Skills for Amazon Echo with PHP
 
ALX319_It’s All in the Data
ALX319_It’s All in the DataALX319_It’s All in the Data
ALX319_It’s All in the Data
 
New skills for Alexa using Alexa.NET
New skills for Alexa using Alexa.NETNew skills for Alexa using Alexa.NET
New skills for Alexa using Alexa.NET
 
Amazon Alexa
Amazon AlexaAmazon Alexa
Amazon Alexa
 
AWS re:Invent 2016: State of the Union: Amazon Alexa and Recent Advances in C...
AWS re:Invent 2016: State of the Union: Amazon Alexa and Recent Advances in C...AWS re:Invent 2016: State of the Union: Amazon Alexa and Recent Advances in C...
AWS re:Invent 2016: State of the Union: Amazon Alexa and Recent Advances in C...
 
ALX326_Applying Alexa’s Natural Language to Your Challenges
ALX326_Applying Alexa’s Natural Language to Your ChallengesALX326_Applying Alexa’s Natural Language to Your Challenges
ALX326_Applying Alexa’s Natural Language to Your Challenges
 

Similar to Developing alexa Skill using Java With AWS Lambda

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
 
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
 
Steve Bowden - Alexa Presentation - Why I build Alexa Skills
Steve Bowden  - Alexa Presentation - Why I build Alexa SkillsSteve Bowden  - Alexa Presentation - Why I build Alexa Skills
Steve Bowden - Alexa Presentation - Why I build Alexa Skills
Steven Bowden
 
Build a Voice-Based Chatbot for Your Amazon Connect Contact Center
Build a Voice-Based Chatbot for Your Amazon Connect Contact CenterBuild a Voice-Based Chatbot for Your Amazon Connect Contact Center
Build a Voice-Based Chatbot for Your Amazon Connect Contact Center
Amazon Web Services
 
Building Amazon Alexa custom Skill step by step
Building Amazon Alexa custom Skill step by stepBuilding Amazon Alexa custom Skill step by step
Building Amazon Alexa custom Skill step by step
Stamo Petkov
 
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
 
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
 
Google Assistant Overview
Google Assistant Overview  Google Assistant Overview
Google Assistant Overview
AI.academy
 
AWS Summit Barcelona 2015 - Introducing Amazon API Gateway
AWS Summit Barcelona 2015 - Introducing Amazon API GatewayAWS Summit Barcelona 2015 - Introducing Amazon API Gateway
AWS Summit Barcelona 2015 - Introducing Amazon API Gateway
Vadim Zendejas
 
Apex Connector for Lightning Connect: Make Anything a Salesforce Object
Apex Connector for Lightning Connect: Make Anything a Salesforce ObjectApex Connector for Lightning Connect: Make Anything a Salesforce Object
Apex Connector for Lightning Connect: Make Anything a Salesforce Object
Salesforce Developers
 
Serverless AI - London Loft
Serverless AI - London LoftServerless AI - London Loft
Serverless AI - London Loft
Amazon Web Services
 
iPhone Development For Experienced Web Developers
iPhone Development For Experienced Web DevelopersiPhone Development For Experienced Web Developers
iPhone Development For Experienced Web Developerslisab517
 
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
 
2nd WordPress + Amazon Web Services Meetup
2nd WordPress + Amazon Web Services Meetup2nd WordPress + Amazon Web Services Meetup
2nd WordPress + Amazon Web Services Meetup
Kel
 
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
 
Building AI-powered Serverless Applications on AWS
Building AI-powered Serverless Applications on AWSBuilding AI-powered Serverless Applications on AWS
Building AI-powered Serverless Applications on AWS
Adrian Hornsby
 
Punta Dreamin 17 Generic Apex and Tooling Api
Punta Dreamin 17 Generic Apex and Tooling ApiPunta Dreamin 17 Generic Apex and Tooling Api
Punta Dreamin 17 Generic Apex and Tooling Api
Adam Olshansky
 
Write Generic Code with the Tooling API
Write Generic Code with the Tooling APIWrite Generic Code with the Tooling API
Write Generic Code with the Tooling API
Adam Olshansky
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
Lena Barinova
 
Grown-up javascript with AngularJS
Grown-up javascript with AngularJSGrown-up javascript with AngularJS
Grown-up javascript with AngularJS
Mykhailo Kotsur
 

Similar to Developing alexa Skill using Java With AWS Lambda (20)

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
 
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
 
Steve Bowden - Alexa Presentation - Why I build Alexa Skills
Steve Bowden  - Alexa Presentation - Why I build Alexa SkillsSteve Bowden  - Alexa Presentation - Why I build Alexa Skills
Steve Bowden - Alexa Presentation - Why I build Alexa Skills
 
Build a Voice-Based Chatbot for Your Amazon Connect Contact Center
Build a Voice-Based Chatbot for Your Amazon Connect Contact CenterBuild a Voice-Based Chatbot for Your Amazon Connect Contact Center
Build a Voice-Based Chatbot for Your Amazon Connect Contact Center
 
Building Amazon Alexa custom Skill step by step
Building Amazon Alexa custom Skill step by stepBuilding Amazon Alexa custom Skill step by step
Building Amazon Alexa custom Skill step by step
 
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
 
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...
 
Google Assistant Overview
Google Assistant Overview  Google Assistant Overview
Google Assistant Overview
 
AWS Summit Barcelona 2015 - Introducing Amazon API Gateway
AWS Summit Barcelona 2015 - Introducing Amazon API GatewayAWS Summit Barcelona 2015 - Introducing Amazon API Gateway
AWS Summit Barcelona 2015 - Introducing Amazon API Gateway
 
Apex Connector for Lightning Connect: Make Anything a Salesforce Object
Apex Connector for Lightning Connect: Make Anything a Salesforce ObjectApex Connector for Lightning Connect: Make Anything a Salesforce Object
Apex Connector for Lightning Connect: Make Anything a Salesforce Object
 
Serverless AI - London Loft
Serverless AI - London LoftServerless AI - London Loft
Serverless AI - London Loft
 
iPhone Development For Experienced Web Developers
iPhone Development For Experienced Web DevelopersiPhone Development For Experienced Web Developers
iPhone Development For Experienced Web Developers
 
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
 
2nd WordPress + Amazon Web Services Meetup
2nd WordPress + Amazon Web Services Meetup2nd WordPress + Amazon Web Services Meetup
2nd WordPress + Amazon Web Services Meetup
 
Start building for voice with alexa
Start building for voice with alexaStart building for voice with alexa
Start building for voice with alexa
 
Building AI-powered Serverless Applications on AWS
Building AI-powered Serverless Applications on AWSBuilding AI-powered Serverless Applications on AWS
Building AI-powered Serverless Applications on AWS
 
Punta Dreamin 17 Generic Apex and Tooling Api
Punta Dreamin 17 Generic Apex and Tooling ApiPunta Dreamin 17 Generic Apex and Tooling Api
Punta Dreamin 17 Generic Apex and Tooling Api
 
Write Generic Code with the Tooling API
Write Generic Code with the Tooling APIWrite Generic Code with the Tooling API
Write Generic Code with the Tooling API
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
 
Grown-up javascript with AngularJS
Grown-up javascript with AngularJSGrown-up javascript with AngularJS
Grown-up javascript with AngularJS
 

Recently uploaded

Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
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
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
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
 
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
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
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
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 

Recently uploaded (20)

Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
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...
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
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
 
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
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 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
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 

Developing alexa Skill using Java With AWS Lambda

  • 1. Building Alexa Skills With Java on AWS -Buddha Jyothiprasad
  • 2. Outline • Understand Requirements • Create the skill interface • Develop Lambda for handling intents • Use slots to extract data • Use DynamoDB to persist data
  • 3. About Me SLIDE # 3 Buddha Jyothiprasad @prbuddha Controlspace.info JUG Lead for Hyderabad Java User Group, Open source Contributor and an Author at Pluralsight Personal Skills Work Experience SDE Amazon Developer Oracle Test Automation Engg. IBM AWS JavaFX Java Automation
  • 4. Disclaimer I’m not representing Amazon’s view nor this should be treated as marketing for an Amazon’s product. I did not work in Alexa team, so I can be wrong in some aspects. Please do not mind.
  • 5. How does it work SLIDE # 5 Echo
  • 6. How does it work SLIDE # 6 Alexa voice service Echo
  • 7. How does it work SLIDE # 7 Alexa voice service Echo Lambda function Traditional server
  • 8. How does it work SLIDE # 8 Alexa voice service Echo Lambda function Traditional server Alexa enabled device Amazon dev portal Service endpoints
  • 9. Lets get technical COMPANY NAME SLIDE # 9 User command User of Alexa gives a command Listen Alexa enabled devices listens the commands Send to cloud Device sends the command to Alexa Service Understand Alexa skill understands the intent
  • 10. Lets get technical COMPANY NAME SLIDE # 10 command of Alexa a mand Listen Alexa enabled devices listens the commands Send to cloud Device sends the command to Alexa Service Understand Alexa skill understands the intent Invoke Code Alexa voice service calls lambda
  • 11. Lets get technical COMPANY NAME SLIDE # 11 Invoke Code Alexa voice service calls lambda Data If required data is fetched from dynamo db Logging Any errors are logged to cloud watch by
  • 12. Lets get technical COMPANY NAME SLIDE # 12 Invoke Code Alexa voice service calls lambda Data If required data is fetched from dynamo db Logging Any errors are logged to cloud watch by
  • 13. Lets get technical COMPANY NAME SLIDE # 13 Handle response Textual response is received Invoke Code Alexa voice service calls lambda Data If required data is fetched from dynamo db Logging Any errors are logged to cloud watch by
  • 14. Lets get technical COMPANY NAME SLIDE # 14 Response Prep Response to audio and card Handle response Textual response is received Invoke Code Alexa voice service calls lambda Data If required data is fetched from dynamo db Lo An log wa
  • 15. Lets get technical COMPANY NAME SLIDE # 15 Play response Response received is announced Response Prep Response to audio and card Handle response Textual response is received Invoke Code Alexa voice service calls lambda Data If req is fetc dynam
  • 16. Lets get technical COMPANY NAME SLIDE # 16 User is happy Can enjoy with his freed hands Play response Response received is announced Response Prep Response to audio and card Handle response Textual response is received
  • 17. Process To Create an Alexa Skill Create skill in Alexa developer portal Intent Slots Interfaces Create several intents to capture User’s intention Any data to be extracted with the help of slots Configure any interfaces like audio player etc.,
  • 18. Process To Create an Alexa Skill Create skill in Alexa developer portal Intent Slots Interfaces Create several intents to capture User’s intention Any data to be extracted with the help of slots Configure any interfaces like audio player etc., • What is the weather today • Please tell me today’s news • Add milk to my shopping list • Add slides preparation in TODO • Please play music by Lady Gaga
  • 19. Process To Create an Alexa Skill Create skill in Alexa developer portal Intent Slots Interfaces Create several intents to capture User’s intention Any data to be extracted with the help of slots Configure any interfaces like audio player etc., • What is the weather today • Please tell me today’s news • Add milk to my shopping list • Add slides preparation in TODO • Please play music by Lady Gaga
  • 20. Process To Create an Alexa Skill Create skill in Alexa developer portal Intent Slots Interfaces Create several intents to capture User’s intention Any data to be extracted with the help of slots Configure any interfaces like audio player etc., • What is the weather today • Please tell me today’s news • Add milk to my shopping list • Add slides preparation in TODO • Please play music by Lady Gaga
  • 21. Process To Create an Alexa Skill Create skill in Alexa developer portal Intent Slots Interfaces Create several intents to capture User’s intention Any data to be extracted with the help of slots Configure any interfaces like audio player etc., • What is the weather today • Please tell me today’s news • Add milk to my shopping list • Add slides preparation in TODO • Please play music by Lady Gaga
  • 22. Process To Create an Alexa Skill Create skill in Alexa developer portal Intent Slots Interfaces Create several intents to capture User’s intention Any data to be extracted with the help of slots Configure any interfaces like audio player etc., • Today you can expect rain • India and Pakistan made peace • Milk is added to your shopping list • Slides preparation Added in TODO • Shuffling music by Lady Gaga
  • 23. Process To Create an Alexa Skill Create skill in Alexa developer portal Intent Slots Interfaces Create several intents to capture User’s intention Any data to be extracted with the help of slots Configure any interfaces like audio player etc.,
  • 24. Process To Create an Alexa Skill Create skill in Alexa developer portal Intent Slots Interfaces Create several intents to capture User’s intention Any data to be extracted with the help of slots Configure any interfaces like audio player etc., Configure EndPoint
  • 25. Process To Create an Alexa Skill Create skill in Alexa developer portal Intent Slots Interfaces Create several intents to capture User’s intention Any data to be extracted with the help of slots Configure any interfaces like audio player etc., Configure EndPoint Develop Lambda Deploy Lambda Give required permissions
  • 26. Demo • Create the skill interface • Develop Lambda for handling intents • Use slots to extract data • Use DynamoDB to persist data