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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Natasha Carlyon
June 21, 2018
Programming
140
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
44
Upping_Your_Interviewing_Game.pdf
nscarlyon
0
65
DevOps
nscarlyon
0
34
Where's Waldo: Building Better APIs with Swagger
nscarlyon
0
44
ng g talk-on-angular-console
nscarlyon
0
140
Mob Programming
nscarlyon
0
320
Other Decks in Programming
See All in Programming
Skills Are the New npm [AAIF Bengaluru]
shivamsaraswat
0
120
AI駆動TDD ― 2026年10月版
hrmstrsmgs
0
110
SODA - FACT BOOK(EN)
sodainc
1
280
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
700
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
340
数行の変更でDockerビルドを最大91%高速化~GitLab CIの実行基盤を社内40リポジトリに展開するまで~
picopico
1
230
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
210
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
190
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
6.2k
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
980
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
270
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
140
Featured
See All Featured
Unsuck your backbone
ammeep
672
58k
Ruling the World: When Life Gets Gamed
codingconduct
0
450
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k
Designing for Performance
lara
612
70k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
790
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
640
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
470
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Balancing Empowerment & Direction
lara
6
1.4k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
2
540
Deep Space Network (abreviated)
tonyrice
0
430