Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Alexa, what is 2 + 2?
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Natasha Carlyon
June 21, 2018
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Alexa, what is 2 + 2?
Natasha Carlyon
June 21, 2018
Transcript
46 slides
Alexa, what is 2 + 2? Natasha Carlyon
[email protected]
@nscarlyon
Natasha Carlyon • Software Crafter • Greater Sum • @nscarlyon
• http://speakerdeck.com/ •
[email protected]
Intro
Who is Alexa?
https://developer.amazon.com/alexa-skills-kit An Alexa Skill Creates a Personalized Voice Experience for
Users
Smart Home
Games
Trivia
News
Business • Alexa for Business https://aws.amazon.com/alexaforbusiness/
Polly • Ivy • Joanna • Kendra • Kimberly •
Joey • Justin • Matthew
Alexa Devices
Alexa Voice Service https://developer.amazon.com/alexa-voice-service
Alexa Skills Kit https://developer.amazon.com/alexa-skills-kit • APIs • Tools • Documentation
• Code Samples
Prerequisites • Amazon Alexa Account • AWS Account • Alexa
enabled device*
Do I need to know how to code? It depends
How much will this cost me? • AWS Free Tier
• One million AWS Lambda requests / month • 750 hours of Amazon Cloud compute time / month
AWS Promotional Credit • Published Alexa Skill = $100 •
If you incur charges -> $100 / month • Essentially Free
Design
Purpose Why am I building this skill? Math Facts Engaging
Retention
Audience Who am I building this skill for? Children
How? Math Facts? - Multiplication, Division, Addition, Subtraction (0-12) Engaging?
- Choose Your Adventure Story Retention? - Repetition; Three/Four at a time; Circling; Gradual
Brainstorm
Start Simple You’re in a maze. You can go left
or right. Left Encounter! Right Encounter! Encounter Fight Encounter Fight
Build
Wake Word • Alexa • Echo • Amazon • Computer
Invocation Name is how users invoke your skill
Alexa ask Starbucks to order me a drink Alexa play
Would you Rather Alexa open Twenty Questions
Invocation Name • Easy to remember • Easy to pronounce
• Self explanatory
An utterance represents a user’s spoken request
I would like a tall java chip. I want to
buy a flight from Atlanta to San Francisco. What is the air-speed velocity of an unladen swallow?
A slot is a variable in an utterance
I would like a [tall java chip]. I want to
buy a flight from [Atlanta] to [San Francisco]. What is the air-speed velocity of an unladen [swallow]?
Intent represents an action that fulfills the user’s request(utterance)
Built-In Intents Fallback Intent Cancel Intent Help Intent Stop Intent
• AWS • First million calls is free for each
month • Cloud/Serverless • Only runs when you need it • Handles security for you • Easy to connect to your skill Lambdas
• Internet-accessible • Alexa Skill • Support HTTP over SSL
• Accept requests over port 443 • Certificate • Validate incoming requests are coming from Alexa https://developer.amazon.com/docs/custom-skills/host-a-cust om-skill-as-a-web-service.html Custom Web Service
Let’s Build an Alexa Skill! https://developer.amazon.com/alexa?
Map
Text Adventure
Alexa Text Adventure https://github.com/alexa/skill-sample-nodejs-adventure-game
Twine • http://twinery.org/ • Online • Desktop Version • Non-Linear
Stories
DynamoDB • AWS Service • Non-relational Database Service
Conclusion
Resources • https://github.com/alexa/skill-sample-nodejs-adventure-game • https://developer.amazon.com/alexa-skills-kit • https://aws.amazon.com/alexaforbusiness/ • https://developer.amazon.com/alexa-voice-service •
https://aws.amazon.com/ • https://developer.amazon.com/docs/smapi/quick-start-alexa-skills-kit-comman d-line-interface.html
Software Craftsmanship Unconference Exchange Ideas Meaningful Conversations Peer Learning Fri,
September 21, 2018 CODECAMP for 20% off https://scunconf.com/
More Decks by Natasha Carlyon
See All by Natasha Carlyon
Exploring The Digital Frontier: CSS Grid & Flexbox
nscarlyon
0
42
Upping_Your_Interviewing_Game.pdf
nscarlyon
0
64
DevOps
nscarlyon
0
34
Where's Waldo: Building Better APIs with Swagger
nscarlyon
0
43
ng g talk-on-angular-console
nscarlyon
0
140
Mob Programming
nscarlyon
0
320
Other Decks in Programming
See All in Programming
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
340
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
150
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
210
小さなアプリを作って公開するまで
onozaty
0
190
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
180
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
190
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
310
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
190
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
210
우리의 Nitro Modules는 당신의 Turbo Modules보다 아름답다
l2hyunwoo
0
260
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
130
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
1
460
Featured
See All Featured
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
350
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
60k
Speed Design
sergeychernyshev
33
2.2k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
580
Writing Fast Ruby
sferik
630
63k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Designing for Timeless Needs
cassininazir
1
560
Everyday Curiosity
cassininazir
0
400
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The Pragmatic Product Professional
lauravandoore
37
7.5k