Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Alexa, what is 2 + 2?
Search
Natasha Carlyon
June 21, 2018
Programming
0
110
Alexa, what is 2 + 2?
Natasha Carlyon
June 21, 2018
Tweet
Share
More Decks by Natasha Carlyon
See All by Natasha Carlyon
Exploring The Digital Frontier: CSS Grid & Flexbox
nscarlyon
0
24
Upping_Your_Interviewing_Game.pdf
nscarlyon
0
53
DevOps
nscarlyon
0
23
Where's Waldo: Building Better APIs with Swagger
nscarlyon
0
27
ng g talk-on-angular-console
nscarlyon
0
140
Mob Programming
nscarlyon
0
290
Other Decks in Programming
See All in Programming
0626 Findy Product Manager LT Night_高田スライド_speaker deck用
mana_takada
0
140
RailsGirls IZUMO スポンサーLT
16bitidol
0
140
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
2
420
Azure AI Foundryではじめてのマルチエージェントワークフロー
seosoft
0
150
データの民主化を支える、透明性のあるデータ利活用への挑戦 2025-06-25 Database Engineering Meetup#7
y_ken
0
340
Quand Symfony, ApiPlatform, OpenAI et LangChain s'allient pour exploiter vos PDF : de la théorie à la production…
ahmedbhs123
0
120
Google Agent Development Kit でLINE Botを作ってみた
ymd65536
2
220
WebViewの現在地 - SwiftUI時代のWebKit - / The Current State Of WebView
marcy731
0
110
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
1.7k
生成AIコーディングとの向き合い方、AIと共創するという考え方 / How to deal with generative AI coding and the concept of co-creating with AI
seike460
PRO
1
350
AIコーディング道場勉強会#2 君(エンジニア)たちはどう生きるか
misakiotb
1
280
プロダクト志向なエンジニアがもう一歩先の価値を目指すために意識したこと
nealle
0
120
Featured
See All Featured
A Tale of Four Properties
chriscoyier
160
23k
Scaling GitHub
holman
459
140k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Code Review Best Practice
trishagee
69
18k
Facilitating Awesome Meetings
lara
54
6.4k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Cult of Friendly URLs
andyhume
79
6.5k
Building Applications with DynamoDB
mza
95
6.5k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
Designing Experiences People Love
moore
142
24k
Transcript
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/