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
840
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
モバイルアプリ開発へE2Eテストを導入しよう
asmz
0
58
React Native+Expoで始めるWebフロント開発
asmz
0
330
UIデザインを考える全ての人たちに捧げる Apple Human Interface Guidelinesのススメ
asmz
1
2.3k
Overview of Swift and iOS App development
asmz
0
1.2k
How to get mobile app logs using Firebase Crashlytics
asmz
0
850
OK Google, Deploy the iOS app
asmz
1
880
Cooperate with Adobe XD, Zeplin and Xcode
asmz
1
3.1k
phpconsen LT
asmz
0
740
SWWDC 39
asmz
1
250
Other Decks in Technology
See All in Technology
Mambaで物体検出 完全に理解した
shirarei24
2
210
【新卒研修資料】数理最適化 / Mathematical Optimization
brainpadpr
25
11k
Segment Anything Modelの最新動向:SAM2とその発展系
tenten0727
0
440
解消したはずが…技術と人間のエラーが交錯する恐怖体験
lamaglama39
0
190
Unson OS|48時間で「売れるか」を判定する AI 市場検証プラットフォーム
unson
0
170
LLMで構造化出力の成功率をグンと上げる方法
keisuketakiguchi
0
460
データ基盤の管理者からGoogle Cloud全体の管理者になっていた話
zozotech
PRO
0
340
帳票構造化タスクにおけるLLMファインチューニングの性能評価
yosukeyoshida
1
230
AIに目を奪われすぎて、周りの困っている人間が見えなくなっていませんか?
cap120
1
430
いかにして命令の入れ替わりについて心配するのをやめ、メモリモデルを愛するようになったか(改)
nullpo_head
2
150
Claude Codeが働くAI中心の業務システム構築の挑戦―AIエージェント中心の働き方を目指して
os1ma
9
1.5k
【OptimizationNight】数理最適化のラストワンマイルとしてのUIUX
brainpadpr
1
260
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
7
540
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
2.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.5k
Practical Orchestrator
shlominoach
190
11k
How STYLIGHT went responsive
nonsquared
100
5.7k
Scaling GitHub
holman
461
140k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
We Have a Design System, Now What?
morganepeng
53
7.7k
What's in a price? How to price your products and services
michaelherold
246
12k
Building Adaptive Systems
keathley
43
2.7k
Code Review Best Practice
trishagee
69
19k
Embracing the Ebb and Flow
colly
86
4.8k
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