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
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.2k
モバイルアプリ開発へE2Eテストを導入しよう
asmz
0
260
React Native+Expoで始めるWebフロント開発
asmz
0
690
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
980
Cooperate with Adobe XD, Zeplin and Xcode
asmz
1
3.2k
phpconsen LT
asmz
0
810
Other Decks in Technology
See All in Technology
マルチエージェント × ハーネスエンジニアリング × GitLab Duo Agent Platformで実現する「AIエージェントに仕事をさせる時代へ。」 / 20260421 GitLab Duo Agent Platform
n11sh1
0
160
AI時代 に増える データ活用先
takahal
0
230
AI와 협업하는 조직으로의 여정
arawn
0
420
QGISプラグイン CMChangeDetector
naokimuroki
1
400
AI時代のガードレールとしてのAPIガバナンス
nagix
0
280
クラウドネイティブな開発 ~ 認知負荷に立ち向かうためのコンテナ活用
literalice
0
120
「責任あるAIエージェント」こそ自社で開発しよう!
minorun365
9
2k
明日からドヤれる!超マニアックなAWSセキュリティTips10連発 / 10 Ultra-Niche AWS Security Tips
yuj1osm
0
590
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.4k
AI時代における技術的負債への取り組み
codenote
1
1.5k
AIが書いたコードを信じられない問題 〜レビュー負荷を下げるために変えたこと〜 / The AI Code Trust Gap: Reducing the Review Burden
bitkey
PRO
7
1.3k
AzureのIaC管理からログ調査まで、随所に役立つSkillsとCustom-Instructions / Boosting IaC and Log Analysis with Skills
aeonpeople
0
230
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.5k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
4 Signs Your Business is Dying
shpigford
187
22k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Statistics for Hackers
jakevdp
799
230k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.1k
Google's AI Overviews - The New Search
badams
0
980
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
110
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
370
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