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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
asmz
March 28, 2018
Technology
910
0
Share
Create voice assistant app by Dialogflow
Dialogflowを使ってノンプログラミングで音声アシスタントを作ろう
Talked at はじめてのIT勉強会 in 仙台 #12
asmz
March 28, 2018
More Decks by asmz
See All by asmz
Firebase App Testing Agentで始めるAIベースの柔軟なE2Eテスト
asmz
0
1.1k
モバイルアプリ開発へE2Eテストを導入しよう
asmz
0
250
React Native+Expoで始めるWebフロント開発
asmz
0
670
UIデザインを考える全ての人たちに捧げる Apple Human Interface Guidelinesのススメ
asmz
1
2.7k
Overview of Swift and iOS App development
asmz
0
1.3k
How to get mobile app logs using Firebase Crashlytics
asmz
0
910
OK Google, Deploy the iOS app
asmz
1
970
Cooperate with Adobe XD, Zeplin and Xcode
asmz
1
3.2k
phpconsen LT
asmz
0
800
Other Decks in Technology
See All in Technology
40代からのアウトプット ― 経験は価値ある学びに変わる / 20260404 Naoki Takahashi
shift_evolve
PRO
4
740
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
11k
TUNA Camp 2026 京都Stage ヒューリスティックアルゴリズム入門
terryu16
0
670
不確実性と戦いながら見積もりを作成するプロセス/mitsumori-process
hirodragon112
1
170
Move Fast and Break Things: 10 in 20
ramimac
0
110
ThetaOS - A Mythical Machine comes Alive
aslander
0
240
開発チームとQAエンジニアの新しい協業モデル -年末調整開発チームで実践する【QAリード施策】-
qa
0
710
VSCode中心だった自分がターミナル沼に入門した話
sanogemaru
0
890
Network Firewall Proxyで 自前プロキシを消し去ることができるのか
gusandayo
0
170
GitHub Actions侵害 — 相次ぐ事例を振り返り、次なる脅威に備える
flatt_security
12
7.3k
AIエージェント勉強会第3回 エージェンティックAIの時代がやってきた
ymiya55
0
220
パワポ作るマンをMCP Apps化してみた
iwamot
PRO
0
290
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
What's in a price? How to price your products and services
michaelherold
247
13k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
110
Tell your own story through comics
letsgokoyo
1
880
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
440
Designing Powerful Visuals for Engaging Learning
tmiket
1
320
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
120
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
330
How to Ace a Technical Interview
jacobian
281
24k
A better future with KSS
kneath
240
18k
Designing for humans not robots
tammielis
254
26k
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