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
Create voice assistant app by Dialogflow
Search
asmz
March 28, 2018
Technology
0
830
Create voice assistant app by Dialogflow
Dialogflowを使ってノンプログラミングで音声アシスタントを作ろう
Talked at はじめてのIT勉強会 in 仙台 #12
asmz
March 28, 2018
Tweet
Share
More Decks by asmz
See All by asmz
React Native+Expoで始めるWebフロント開発
asmz
0
240
UIデザインを考える全ての人たちに捧げる Apple Human Interface Guidelinesのススメ
asmz
1
2.2k
Overview of Swift and iOS App development
asmz
0
1.2k
How to get mobile app logs using Firebase Crashlytics
asmz
0
830
OK Google, Deploy the iOS app
asmz
1
860
Cooperate with Adobe XD, Zeplin and Xcode
asmz
1
3k
phpconsen LT
asmz
0
720
SWWDC 39
asmz
1
230
SWWDC 34
asmz
0
710
Other Decks in Technology
See All in Technology
Data Observability:企業資料管理技術的未來顯學
cheng_wei_chen
0
150
Information Architecture Recommoning: How Standardization Enables Differentiation
angioia
0
110
Digitization部 紹介資料
sansan33
PRO
1
3.9k
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
17k
ローカル環境でAIを動かそう!
falken
PRO
1
180
Eight Engineering Unit 紹介資料
sansan33
PRO
0
3.3k
組織とセキュリティ文化と、自分の一歩
maimyyym
3
1.3k
DevOpsDays Taipei 2025 - Opening Remarks
cheng_wei_chen
0
110
Cursor Meetup Tokyo
iamshunta
5
1.4k
Houtou.pm #1
papix
0
960
Spring for GraphQLって実際どうなの?〜小規模スタートアップの事例紹介〜
kogayushi
0
120
オープンソースのハードウェアのコンテストに参加している話
iotengineer22
0
750
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Typedesign – Prime Four
hannesfritz
41
2.6k
Navigating Team Friction
lara
186
15k
GitHub's CSS Performance
jonrohan
1031
460k
Designing for Performance
lara
608
69k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
34
2.3k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Designing for humans not robots
tammielis
253
25k
Documentation Writing (for coders)
carmenintech
71
4.8k
Designing Experiences People Love
moore
142
24k
Thoughts on Productivity
jonyablonski
69
4.7k
Transcript
Dialogflowを使ってノンプログラミングで 音声アシスタントを作ろう 2018/03/28 はじめてのIT勉強会 in 仙台 #12 asmz
Who are you? ▷ Akira Shimizu / asmz(@_asmz) ▷ 株式会社ビデオマーケット
iOSエンジニア ▷ 岩手県陸前高田市出身 ▷ 新卒から12年半東京に勤め、 2016/8より仙台にJターン
Who are you? ▷ 無類のビール好き ◦ 「麦芽系エンジニア」で検索すると前職エンジニアブログの 自分のエントリとか出ます ◦ 思わずドメイン取ってしまった
▪ https://asmz.beer
What are you doing? ▷ ビデオマーケット(https://www.videomarket.jp/) ◦ 配信本数は日本最大級(現在19万本) ▪ 自分はiOSアプリ開発担当
What are you doing? ▷ 株式会社ビデオマーケット ◦ 動画配信サービスを運営 ◦ 東京本社オフィス(赤坂)
▪ 今は140名くらい? ▪ うちエンジニアは40名くらい ◦ 仙台オフィス ▪ 13名 ▪ うちエンジニア4名
“ Dialogflowって?
What is Dialogflow? ▷ 自然言語解析エンジン ◦ https://dialogflow.com/ ◦ 人間の普通の会話形式の言葉を読み取りし、何を言おうとしているのか を解析してくれる
◦ Googleアシスタント用アプリの開発プラットフォーム「Actions on Google」 に統合されている Google Home Google Assistant Dialogflow Server Actions on Google
“ それでは5分で作ってみましょう!
“ Actions on Googleプロジェクト作成
Create new project Actions on Googleコンソール https://console.actions.google.com
Create new project 裏でGoogle Cloud Platform上にプロジェクトが作られる
Create new project 今回はDialogflowを使用
Create new project 自動でDialogflowに連携される
“ Agentの作成
Create new agent Agent名 言語設定 Google Cloud Platformのプロ ジェクトと紐づいている
“ Intentの作成
“ Intentとは?
What is intent?
What is intent? システム上のイベントに反応さ せたい場合に定義 ユーザの発言に反応させたい 場合に定義
What is intent? ユーザへの回答を定義
What is intent? Default Welcome Intentの動作例 OK, Google. {アプリ名}に つないで
こんにちは! : : 以降、他のIntentを用いた対話処理
“ 改めて、Intentの作成
Create new intent インテント作成
Create new intent インテント名 「じゃんけん」という言葉に反応させ る
Create new intent 言葉に反応して返事を返す。 複数の返事を定義すると、いずれか の返事をランダムで選ばれる。
Create new intent インテントを保存 ここでテストできる
“ Googleアシスタントへデプロイ
Deploy Googleアシスタントと統合
Deploy チェック 音声アプリ 設定へ
Deploy 音声アプリ 情報設定
Deploy Googleアシスタントから今回作った 音声アプリに接続するために必要 (「xxxxにつないで」に使用) その他の項目はとりあえず無視して設定保存
Deploy デプロイ
Deploy Googleアシスタント シミュレータ この段階で、このGoogleアカウントに紐づけている Google Home実機があれば、実機テスト可能
Deploy
“ いろんな遊び方
Let’s play! Google Assistant以外にもいろんなサービスと統合 することが可能!
Let’s play! <iframe>タグでWebサイトに埋め込み可能
Let’s play! ChatBotとして住まわせることも可能
Let’s play! もちろんプログラミングも可能
Let’s play! ex.) Google Homeで仙台-東京テレビ会議呼び出し
“ まとめ
Conclusion ▷ プログラミング無しでも始められるので導入ハードルは低 い ▷ 自然言語解析機能を備えたChatbotフレームワークとして Dialogflow単体で利用するのもアリ ▷ より複雑なことをやらせたい場合でも、Google Cloud
Platformとの連携がしやすい
アイデア次第でいろんな可能性が! ぜひ遊んでみてください
“ - PR -
One more thing... ▷ 仙台でもエンジニア絶賛募集中! ◦ サーバサイド/Android/iOS ◦ http://www.videomarket.co.jp/recruit/engineer/
ご清聴ありがとうございました 2018/03/28 はじめてのIT勉強会 in 仙台 #12 asmz