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
230
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
40
Dark Corners - Tek
omnicolor
0
160
Monolith - Tek
omnicolor
0
120
Break Off - Midwest
omnicolor
0
36
Alexa-Midwest
omnicolor
0
190
Break Off SunPHP20
omnicolor
0
270
Alexa, Ask Me About PHP!
omnicolor
1
28
Dark Corners Of The SPL - Midwest PHP 2019
omnicolor
0
330
Dark Corners Of The SPL
omnicolor
0
56
Other Decks in How-to & DIY
See All in How-to & DIY
在宅フルリモートワークを可能にするスキルと知識n連発! / how to more effective remoteworking
masaru_b_cl
3
1.1k
人を補助するAI ~AIとの壁打ちがきっかけになる~ #共創AIミートアップ
ishikiemo
0
440
自分がご機嫌になれる 素敵な場所を守るために
kenichirokimura
2
130
miiboとamiibo繋げてみた。 #miibo #amiibo #iotlt
n0bisuke2
1
370
CH32Vシリーズを楽しもう(74thの場合) / enjoy ch32v series
74th
1
1k
バーチャルバナナとリアルバナナ #iotlt #TouchDesigner
n0bisuke2
0
170
How to get hundreds of organic backlinks through statistics link building
ronishehu
1
280
ModuleLLM、最前線!
anoken
0
200
JAWS-UGのご紹介 JAWS-UGとは?
awsjcpm
0
5.2k
BlueTeamer勉強会 Security Onion編 激闘!Importノード
disconinja
1
360
こんなにあるの? 最近のIPAトレンドを ざっくりまとめてみた
watany
4
1k
ミニ四駆ベースのAIカー TatamiRacerの製作
covao
1
230
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
524
40k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
21
1.4k
Building Applications with DynamoDB
mza
95
6.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
The Invisible Side of Design
smashingmag
301
51k
Building an army of robots
kneath
306
45k
Facilitating Awesome Meetings
lara
54
6.5k
Music & Morning Musume
bryan
46
6.7k
Rails Girls Zürich Keynote
gr2m
95
14k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Making Projects Easy
brettharned
117
6.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
283
13k
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]