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
0から始めるAlexa入門
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ysak.y
January 23, 2017
870
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
0から始めるAlexa入門
1/24日に開催したAlexa勉強会でした話です。
ysak.y
January 23, 2017
More Decks by ysak.y
See All by ysak.y
Introduce VUI to Make Everyday Cooking Fun
ysak
0
2.2k
Cookpad Summer Internship 2021 Git/GitHub
ysak
0
3.9k
AOSP から_自分好みの Android OSを_ビルドする
ysak
0
440
designship2019 キッチンでの日常が変わるVUIデザイン
ysak
1
210
スマートスピーカー向けサービス開発者のお仕事
ysak
0
4.4k
Voice UI Workshop Tokyo@朝日メディアラボ
ysak
0
230
VUI LT! IoTLTスピンオフ企画@LINE
ysak
1
820
Tech Kitchen #13
ysak
0
6k
Decide with Assistant
ysak
0
69
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
68k
How STYLIGHT went responsive
nonsquared
100
6.4k
ラッコキーワード サービス紹介資料
rakko
5
5.8M
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
800
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Transcript
0 から始めるAlexa 入門 Yoshiaki Yamada(@y_am_a_da)
誰 Yoshiaki Yamada(@y_am_a_da) 16 卒Cookpad 研究開発部エンジニア Alexa とかGoogle Assistant とか気になってます
この猫が目印です
Alexa とは?
CES2017 で話題になりましたね 自動車、 絵本読み上げ、 スマホ、 冷蔵庫、 洗濯機、 ロボット、 テレビ、 ランプなど約700
種類の製品が Alexa を搭載
こんな事件もありました
まず最初に 公式リファレンス( めっちゃまとまってる) https://developer.amazon.com/public/solutions/alexa /alexa-skills-kit/getting-started-guide 作るもの Alexa Skill ( 認識する文章の定義)
Lambda function ( 実際に行う処理の定義)
おおまかな流れ
おおまかな流れ 1.Amazon echo に話しかける 2. 内容をAlexaSkill に送ってテキストに変換する 3. テキストの内容から呼び出す関数を見つけ出す 4.Lambda
に関数の実行を依頼するリクエストを送る 5.Lambda から返ってきたレスポンスをAmazon echo に送る
Alexa Skill の作成 ユー ザー からの呼びかけに対してどの関数を 呼び出すかを定義する
定義するもの name アプリケー ションの名前。Skill Store での表示名 invocation name アプリケー ションを呼び出す時の名前
Lambda function のARN 呼び出すLambda 関数のARN( リー ジョンはusEast1)
intent いわゆる関数名、 必要に応じてslot( いわゆる引数) も 定義する e.g. WeatherIntent slot いわゆる引数、
あらかじめ単語を登録しておくとそれ に重み付けをして認識してくれる。 e.g. City -> Tokyo, Osaka, Nagoya, Yokohama sample utterance ユー ザー からの呼びかけに対して呼び出す関数を定義 する
WeatherIntent How is the weather in {City} How is the
weather in Tokyo と話しかけると、WeaterIntent にTokyo を変数とし て渡して実行する
Lambda function の作成 Alexa Skill から送信されたリクエストに 対して処理を行いレスポンスを返す関数を作る
実装方法 送られてくるRequest に沿って適切なResponse を 返せばOK https://developer.amazon.com/public/solutions/alexa /alexa-skills-kit/docs/alexa-skills-kit-interface- reference Con gure
Triger はAlexa Skill Kit を選択してくださ い
実装にオススメのライブラリ JavaScript の方は https://github.com/alexa/skill-sample-nodejs- calendar-reader Python の方は https://github.com/anjishnu/ask-alexa-pykit Java の方は
すみません...
試してみるぞ!
Amazon echo のシミュレー タ: https://echosim.io/ Alexa の管理ツー ル http://alexa.amazon.com/spa/index.html
None