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
850
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
96
React Native+Expoで始めるWebフロント開発
asmz
0
410
UIデザインを考える全ての人たちに捧げる Apple Human Interface Guidelinesのススメ
asmz
1
2.4k
Overview of Swift and iOS App development
asmz
0
1.3k
How to get mobile app logs using Firebase Crashlytics
asmz
0
860
OK Google, Deploy the iOS app
asmz
1
890
Cooperate with Adobe XD, Zeplin and Xcode
asmz
1
3.1k
phpconsen LT
asmz
0
750
SWWDC 39
asmz
1
260
Other Decks in Technology
See All in Technology
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
4
10k
Automating Web Accessibility Testing with AI Agents
maminami373
0
1.3k
2つのフロントエンドと状態管理
mixi_engineers
PRO
3
120
Platform開発が先行する Platform Engineeringの違和感
kintotechdev
4
580
下手な強制、ダメ!絶対! 「ガードレール」を「檻」にさせない"ガバナンス"の取り方とは?
tsukaman
2
460
エンジニアが主導できる組織づくり ー 製品と事業を進化させる体制へのシフト
ueokande
1
100
[ JAWS-UG 東京 CommunityBuilders Night #2 ]SlackとAmazon Q Developerで 運用効率化を模索する
sh_fk2
3
460
AIエージェント開発用SDKとローカルLLMをLINE Botと組み合わせてみた / LINEを使ったLT大会 #14
you
PRO
0
130
Terraformで構築する セルフサービス型データプラットフォーム / terraform-self-service-data-platform
pei0804
1
190
S3アクセス制御の設計ポイント
tommy0124
3
200
AI時代を生き抜くエンジニアキャリアの築き方 (AI-Native 時代、エンジニアという道は 「最大の挑戦の場」となる) / Building an Engineering Career to Thrive in the Age of AI (In the AI-Native Era, the Path of Engineering Becomes the Ultimate Arena of Challenge)
jeongjaesoon
0
240
Claude Code でアプリ開発をオートパイロットにするためのTips集 Zennの場合 / Claude Code Tips in Zenn
wadayusuke
5
840
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
530
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
How to Think Like a Performance Engineer
csswizardry
26
1.9k
Embracing the Ebb and Flow
colly
87
4.8k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.9k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.1k
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