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, ask me about PHP
Search
Omni Adams
July 11, 2017
How-to & DIY
0
250
Alexa, ask me about PHP
Omni Adams
July 11, 2017
Tweet
Share
More Decks by Omni Adams
See All by Omni Adams
Alexa, Ask Me About PHP! (Cascadia 2024)
omnicolor
0
48
Dark Corners - Tek
omnicolor
0
170
Monolith - Tek
omnicolor
0
130
Break Off - Midwest
omnicolor
0
38
Alexa-Midwest
omnicolor
0
190
Break Off SunPHP20
omnicolor
0
280
Alexa, Ask Me About PHP!
omnicolor
1
28
Dark Corners Of The SPL - Midwest PHP 2019
omnicolor
0
360
Dark Corners Of The SPL
omnicolor
0
58
Other Decks in How-to & DIY
See All in How-to & DIY
JAWS-UGとAWS - JAWS-UG彩の国埼玉設立のお祝い
awsjcpm
2
560
3ヶ月でできる! 探査機自作ゼミ教材自作入門
sksat
6
3.3k
あなたは何故コミュニティに参加するのか?
awsjcpm
1
210
JAWS-UGから学んだコミュニティの成功要因 (Success Factors)
awsjcpm
5
600
Raspberry Pi Connectを使って #Manus => Node-RED操作チャレンジ #iotlt vol121
n0bisuke2
0
160
人を補助するAI ~AIとの壁打ちがきっかけになる~ #共創AIミートアップ
ishikiemo
0
490
エンジニアになって2年間で学んだこと
kaiphoenix
0
210
AIお菓子ロッカー
keicafeblack
0
200
GreenPAK 初心者向けハンズオン資料
aoisaya
2
650
自分がご機嫌になれる 素敵な場所を守るために
kenichirokimura
3
460
JAWS-UGのご紹介 JAWS-UGとは?
awsjcpm
0
5.4k
家具家電付アパートの自室の冷蔵庫をスマートIoT化してみた!
scbc1167
0
130
Featured
See All Featured
Side Projects
sachag
455
43k
Visualization
eitanlees
150
16k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
650
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Testing 201, or: Great Expectations
jmmastey
46
7.7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
2.9k
Designing Experiences People Love
moore
142
24k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Fireside Chat
paigeccino
41
3.7k
Bash Introduction
62gerente
615
210k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Transcript
Alexa, ask me about PHP
What is Alexa?
None
None
None
None
None
None
None
None
None
None
if($extractType == ‘LME') { $extract = 38; } elseif ($extractType
== ‘DME') { $extract = 45; } elseif (is_numeric($extractType)) { $extract = $extractType; } if (is_numeric($target_gu) && is_numeric($total_gu) && is_numeric($extract)) { return ($target_gu - $total_gu) / $extract; } else { return null; }
None
https://developer.amazon.com/
None
None
None
None
None
None
None
None
None
None
None
{ “intents”: [ { “slots”: [], “intent”: “” } ]
}
function extractAddition($expected, $actual, $extractType)
Alexa, ask brew calc how much DME to go from
ten sixty to ten ninety
Alexa, askbrew calc how much DME to go from ten
sixt
xa, ask brew calchow much DME to go from ten
sixty to ten nin
lc how much DME to go from ten sixty to
ten ninety
lc how much DME to go from ten sixty to
ten ninety
how much DME to go from ten sixty to ten
ninety {“intents”: [{ “slots”: [ {“name”: “extract”, “type”: “LIST_OF_EXTRACT_TYPES”}, {“name”: “expected”, “type”: “AMAZON.FOUR_DIGIT_NUMBER”}, {“name”: “actual”, “type”: “AMAZON.FOUR_DIGIT_NUMBER”} ], “intent”: “BrewCalcIntent” }]}
None
None
None
None
DEMO TIME!
https://speakerdeck.com/omnicolor/alexa-ask-me-about-php https://github.com/omnicolor/automation https://twitter.com/omnicolor Omni Adams
[email protected]