Suche senden
Hochladen
Slack、Lineでチャットボットを動かす / Connect a QnA Bot to slack and line
•
2 gefällt mir
•
307 views
M
moto2g
Folgen
ノンコーディングでチャットボットの公開ができる! QnA Makerで作成したチャットボットAPIをSlack、Lineに接続します。
Weniger lesen
Mehr lesen
Technologie
Melden
Teilen
Melden
Teilen
1 von 43
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
30min serverless-x tuber
30min serverless-x tuber
c-mitsuba
Azure Kubernetes ServiceとCI/CD pipeline
Azure Kubernetes ServiceとCI/CD pipeline
ryosuke matsumura
『 イドラ ファンタシースターサーガ 』を支える GCP | Google Cloud INSIDE Games & Apps
『 イドラ ファンタシースターサーガ 』を支える GCP | Google Cloud INSIDE Games & Apps
Google Cloud Platform - Japan
[Cloud OnAir] #01 徹底解剖 GCP のここがすごい
[Cloud OnAir] #01 徹底解剖 GCP のここがすごい
Google Cloud Platform - Japan
Google for Mobile: Google スケールで構築する! ゲームインフラと分析環境 - 橋口 剛
Google for Mobile: Google スケールで構築する! ゲームインフラと分析環境 - 橋口 剛
Google Cloud Platform - Japan
GAS×Power Automate 連携事例のご紹介
GAS×Power Automate 連携事例のご紹介
kinuasa
Gitlab ci & ecsへのデプロイ
Gitlab ci & ecsへのデプロイ
iwata jaws-ug
CloudSQL v2は デキる子なのか?
CloudSQL v2は デキる子なのか?
Kumano Ryo
Empfohlen
30min serverless-x tuber
30min serverless-x tuber
c-mitsuba
Azure Kubernetes ServiceとCI/CD pipeline
Azure Kubernetes ServiceとCI/CD pipeline
ryosuke matsumura
『 イドラ ファンタシースターサーガ 』を支える GCP | Google Cloud INSIDE Games & Apps
『 イドラ ファンタシースターサーガ 』を支える GCP | Google Cloud INSIDE Games & Apps
Google Cloud Platform - Japan
[Cloud OnAir] #01 徹底解剖 GCP のここがすごい
[Cloud OnAir] #01 徹底解剖 GCP のここがすごい
Google Cloud Platform - Japan
Google for Mobile: Google スケールで構築する! ゲームインフラと分析環境 - 橋口 剛
Google for Mobile: Google スケールで構築する! ゲームインフラと分析環境 - 橋口 剛
Google Cloud Platform - Japan
GAS×Power Automate 連携事例のご紹介
GAS×Power Automate 連携事例のご紹介
kinuasa
Gitlab ci & ecsへのデプロイ
Gitlab ci & ecsへのデプロイ
iwata jaws-ug
CloudSQL v2は デキる子なのか?
CloudSQL v2は デキる子なのか?
Kumano Ryo
Ignite 2021秋 recap - 開発者向け新機能紹介
Ignite 2021秋 recap - 開発者向け新機能紹介
Kazushi Kamegawa
Serverlessconf Tokyo 2017 Biz serverless お客様のビジネスを支えるサーバーレスアーキテクチャーと開発としてのビジ...
Serverlessconf Tokyo 2017 Biz serverless お客様のビジネスを支えるサーバーレスアーキテクチャーと開発としてのビジ...
Hiroyuki Hiki
なるほどわかった!App Service on Linux
なるほどわかった!App Service on Linux
Yasuaki Matsuda
Pokémon GOとGCP
Pokémon GOとGCP
Google Cloud Platform - Japan
DevOpsとか言う前にAWSエンジニアに知ってほしいアプリケーションのこと
DevOpsとか言う前にAWSエンジニアに知ってほしいアプリケーションのこと
Terui Masashi
Developer summit 2015 gcp
Developer summit 2015 gcp
Google Cloud Platform - Japan
[Cloud OnAir] Apigee でかんたん API 管理 2019年12月12日 放送
[Cloud OnAir] Apigee でかんたん API 管理 2019年12月12日 放送
Google Cloud Platform - Japan
6 月 18 日 Next - Kubernetes のコンテナ技術ですべてをシンプルに
6 月 18 日 Next - Kubernetes のコンテナ技術ですべてをシンプルに
Google Cloud Platform - Japan
[Cloud OnAir] 2019 年振り返り!G Suite 新機能紹介 2019年11月28日 放送
[Cloud OnAir] 2019 年振り返り!G Suite 新機能紹介 2019年11月28日 放送
Google Cloud Platform - Japan
Azure Kubernetes ServiceとコンテナのCI/CD
Azure Kubernetes ServiceとコンテナのCI/CD
ryosuke matsumura
Terraform×Rancherでマルチクラウドを一歩すすめる
Terraform×Rancherでマルチクラウドを一歩すすめる
Shinya Mori (@mosuke5)
Azure Cosmos DB Emulator on Docker を GitHub Codespaces で動かす!
Azure Cosmos DB Emulator on Docker を GitHub Codespaces で動かす!
Kazumi IWANAGA
デブサミ2011 LT大会【17-E-7】appengine ja night
デブサミ2011 LT大会【17-E-7】appengine ja night
bluerabbit777jp
今だから知りたい BigQuery 再入門 | Google Cloud INSIDE Games & Apps: Online
今だから知りたい BigQuery 再入門 | Google Cloud INSIDE Games & Apps: Online
Google Cloud Platform - Japan
Google Container Engine を始めてみよう
Google Container Engine を始めてみよう
Google Cloud Platform - Japan
MLCT#12 使われる機能目指して 測ったり試したり
MLCT#12 使われる機能目指して 測ったり試したり
Yuji Oshima
Power Automate with kintone
Power Automate with kintone
Tsukasa Kato
Google for Mobile: コンテナで作るモバイル バックエンド - 福田 潔
Google for Mobile: コンテナで作るモバイル バックエンド - 福田 潔
Google Cloud Platform - Japan
クラウド環境でのロギングと、AlibabaCloudでのロギングソリューション
クラウド環境でのロギングと、AlibabaCloudでのロギングソリューション
Shinya Mori (@mosuke5)
[Cloud OnAir] 事例紹介 : 株式会社マーケティングアプリケーションズ 〜クラウドへのマイグレーションとその後〜 2020年12月17日 放送
[Cloud OnAir] 事例紹介 : 株式会社マーケティングアプリケーションズ 〜クラウドへのマイグレーションとその後〜 2020年12月17日 放送
Google Cloud Platform - Japan
Chat bot created by QnA Maker
Chat bot created by QnA Maker
Takao Tetsuro
決済システムの内製化への旅 - SpringとPCFで作るクラウドネイティブなシステム開発 #jsug #sf_h1
決済システムの内製化への旅 - SpringとPCFで作るクラウドネイティブなシステム開発 #jsug #sf_h1
Toshiaki Maki
Weitere ähnliche Inhalte
Was ist angesagt?
Ignite 2021秋 recap - 開発者向け新機能紹介
Ignite 2021秋 recap - 開発者向け新機能紹介
Kazushi Kamegawa
Serverlessconf Tokyo 2017 Biz serverless お客様のビジネスを支えるサーバーレスアーキテクチャーと開発としてのビジ...
Serverlessconf Tokyo 2017 Biz serverless お客様のビジネスを支えるサーバーレスアーキテクチャーと開発としてのビジ...
Hiroyuki Hiki
なるほどわかった!App Service on Linux
なるほどわかった!App Service on Linux
Yasuaki Matsuda
Pokémon GOとGCP
Pokémon GOとGCP
Google Cloud Platform - Japan
DevOpsとか言う前にAWSエンジニアに知ってほしいアプリケーションのこと
DevOpsとか言う前にAWSエンジニアに知ってほしいアプリケーションのこと
Terui Masashi
Developer summit 2015 gcp
Developer summit 2015 gcp
Google Cloud Platform - Japan
[Cloud OnAir] Apigee でかんたん API 管理 2019年12月12日 放送
[Cloud OnAir] Apigee でかんたん API 管理 2019年12月12日 放送
Google Cloud Platform - Japan
6 月 18 日 Next - Kubernetes のコンテナ技術ですべてをシンプルに
6 月 18 日 Next - Kubernetes のコンテナ技術ですべてをシンプルに
Google Cloud Platform - Japan
[Cloud OnAir] 2019 年振り返り!G Suite 新機能紹介 2019年11月28日 放送
[Cloud OnAir] 2019 年振り返り!G Suite 新機能紹介 2019年11月28日 放送
Google Cloud Platform - Japan
Azure Kubernetes ServiceとコンテナのCI/CD
Azure Kubernetes ServiceとコンテナのCI/CD
ryosuke matsumura
Terraform×Rancherでマルチクラウドを一歩すすめる
Terraform×Rancherでマルチクラウドを一歩すすめる
Shinya Mori (@mosuke5)
Azure Cosmos DB Emulator on Docker を GitHub Codespaces で動かす!
Azure Cosmos DB Emulator on Docker を GitHub Codespaces で動かす!
Kazumi IWANAGA
デブサミ2011 LT大会【17-E-7】appengine ja night
デブサミ2011 LT大会【17-E-7】appengine ja night
bluerabbit777jp
今だから知りたい BigQuery 再入門 | Google Cloud INSIDE Games & Apps: Online
今だから知りたい BigQuery 再入門 | Google Cloud INSIDE Games & Apps: Online
Google Cloud Platform - Japan
Google Container Engine を始めてみよう
Google Container Engine を始めてみよう
Google Cloud Platform - Japan
MLCT#12 使われる機能目指して 測ったり試したり
MLCT#12 使われる機能目指して 測ったり試したり
Yuji Oshima
Power Automate with kintone
Power Automate with kintone
Tsukasa Kato
Google for Mobile: コンテナで作るモバイル バックエンド - 福田 潔
Google for Mobile: コンテナで作るモバイル バックエンド - 福田 潔
Google Cloud Platform - Japan
クラウド環境でのロギングと、AlibabaCloudでのロギングソリューション
クラウド環境でのロギングと、AlibabaCloudでのロギングソリューション
Shinya Mori (@mosuke5)
[Cloud OnAir] 事例紹介 : 株式会社マーケティングアプリケーションズ 〜クラウドへのマイグレーションとその後〜 2020年12月17日 放送
[Cloud OnAir] 事例紹介 : 株式会社マーケティングアプリケーションズ 〜クラウドへのマイグレーションとその後〜 2020年12月17日 放送
Google Cloud Platform - Japan
Was ist angesagt?
(20)
Ignite 2021秋 recap - 開発者向け新機能紹介
Ignite 2021秋 recap - 開発者向け新機能紹介
Serverlessconf Tokyo 2017 Biz serverless お客様のビジネスを支えるサーバーレスアーキテクチャーと開発としてのビジ...
Serverlessconf Tokyo 2017 Biz serverless お客様のビジネスを支えるサーバーレスアーキテクチャーと開発としてのビジ...
なるほどわかった!App Service on Linux
なるほどわかった!App Service on Linux
Pokémon GOとGCP
Pokémon GOとGCP
DevOpsとか言う前にAWSエンジニアに知ってほしいアプリケーションのこと
DevOpsとか言う前にAWSエンジニアに知ってほしいアプリケーションのこと
Developer summit 2015 gcp
Developer summit 2015 gcp
[Cloud OnAir] Apigee でかんたん API 管理 2019年12月12日 放送
[Cloud OnAir] Apigee でかんたん API 管理 2019年12月12日 放送
6 月 18 日 Next - Kubernetes のコンテナ技術ですべてをシンプルに
6 月 18 日 Next - Kubernetes のコンテナ技術ですべてをシンプルに
[Cloud OnAir] 2019 年振り返り!G Suite 新機能紹介 2019年11月28日 放送
[Cloud OnAir] 2019 年振り返り!G Suite 新機能紹介 2019年11月28日 放送
Azure Kubernetes ServiceとコンテナのCI/CD
Azure Kubernetes ServiceとコンテナのCI/CD
Terraform×Rancherでマルチクラウドを一歩すすめる
Terraform×Rancherでマルチクラウドを一歩すすめる
Azure Cosmos DB Emulator on Docker を GitHub Codespaces で動かす!
Azure Cosmos DB Emulator on Docker を GitHub Codespaces で動かす!
デブサミ2011 LT大会【17-E-7】appengine ja night
デブサミ2011 LT大会【17-E-7】appengine ja night
今だから知りたい BigQuery 再入門 | Google Cloud INSIDE Games & Apps: Online
今だから知りたい BigQuery 再入門 | Google Cloud INSIDE Games & Apps: Online
Google Container Engine を始めてみよう
Google Container Engine を始めてみよう
MLCT#12 使われる機能目指して 測ったり試したり
MLCT#12 使われる機能目指して 測ったり試したり
Power Automate with kintone
Power Automate with kintone
Google for Mobile: コンテナで作るモバイル バックエンド - 福田 潔
Google for Mobile: コンテナで作るモバイル バックエンド - 福田 潔
クラウド環境でのロギングと、AlibabaCloudでのロギングソリューション
クラウド環境でのロギングと、AlibabaCloudでのロギングソリューション
[Cloud OnAir] 事例紹介 : 株式会社マーケティングアプリケーションズ 〜クラウドへのマイグレーションとその後〜 2020年12月17日 放送
[Cloud OnAir] 事例紹介 : 株式会社マーケティングアプリケーションズ 〜クラウドへのマイグレーションとその後〜 2020年12月17日 放送
Ähnlich wie Slack、Lineでチャットボットを動かす / Connect a QnA Bot to slack and line
Chat bot created by QnA Maker
Chat bot created by QnA Maker
Takao Tetsuro
決済システムの内製化への旅 - SpringとPCFで作るクラウドネイティブなシステム開発 #jsug #sf_h1
決済システムの内製化への旅 - SpringとPCFで作るクラウドネイティブなシステム開発 #jsug #sf_h1
Toshiaki Maki
第二十一回Azure もくもく会 LT発表
第二十一回Azure もくもく会 LT発表
Akiyoshi Tsuchida
30min Serverless xTuber
30min Serverless xTuber
Takaaki Suzuki
ソフトバンクにおける Java による クラウドネイティブの実現
ソフトバンクにおける Java による クラウドネイティブの実現
Shigeru Tatsuta
Docker on azure!進化していくcontainerを覗いてみよう!
Docker on azure!進化していくcontainerを覗いてみよう!
Tsukasa Kato
Fun tech#14 AlibabaCloud - EDAS(Enterprise Distributed Application Service)
Fun tech#14 AlibabaCloud - EDAS(Enterprise Distributed Application Service)
Takuya Mihara
Azure activedirectoryの最新機能の概要紹介
Azure activedirectoryの最新機能の概要紹介
Tsukasa Kato
Open Source x AI
Open Source x AI
Tsukasa Kato
Osc fukuoka xAI Meetup
Osc fukuoka xAI Meetup
ru pic
[Cloud OnAir] Google Cloud Next '18 in Tokyo サーバレス特集 2018年9月27日 放送
[Cloud OnAir] Google Cloud Next '18 in Tokyo サーバレス特集 2018年9月27日 放送
Google Cloud Platform - Japan
AWS CloudFormationによるInfrastructure as Codeの実現
AWS CloudFormationによるInfrastructure as Codeの実現
HIRA
Azure Fundamental
Azure Fundamental
Yui Ashikaga
XDev2010 WindowsAzure
XDev2010 WindowsAzure
Shinichiro Isago
GraalVM Native Imageが見せた未来
GraalVM Native Imageが見せた未来
Rakuten Group, Inc.
Tech summitの歩き方 azure編
Tech summitの歩き方 azure編
Tech Summit 2016
仮想通貨取引所 bitbank の IaC の導入と実践
仮想通貨取引所 bitbank の IaC の導入と実践
bitbank, Inc. Tokyo, Japan
2021/02/19 Alterbooth 多忙なアーキテクトのためのクラウド導入フレームワーク (CAF) ダイジェスト
2021/02/19 Alterbooth 多忙なアーキテクトのためのクラウド導入フレームワーク (CAF) ダイジェスト
Issei Hiraoka
GTC Japan 2016 Rescaleセッション資料「クラウドHPC ではじめるDeep Learning」- Oct/5/2016 at GTC ...
GTC Japan 2016 Rescaleセッション資料「クラウドHPC ではじめるDeep Learning」- Oct/5/2016 at GTC ...
Rescale Japan株式会社
Logic Apps/Flow Update Summary
Logic Apps/Flow Update Summary
Tomoyuki Obi
Ähnlich wie Slack、Lineでチャットボットを動かす / Connect a QnA Bot to slack and line
(20)
Chat bot created by QnA Maker
Chat bot created by QnA Maker
決済システムの内製化への旅 - SpringとPCFで作るクラウドネイティブなシステム開発 #jsug #sf_h1
決済システムの内製化への旅 - SpringとPCFで作るクラウドネイティブなシステム開発 #jsug #sf_h1
第二十一回Azure もくもく会 LT発表
第二十一回Azure もくもく会 LT発表
30min Serverless xTuber
30min Serverless xTuber
ソフトバンクにおける Java による クラウドネイティブの実現
ソフトバンクにおける Java による クラウドネイティブの実現
Docker on azure!進化していくcontainerを覗いてみよう!
Docker on azure!進化していくcontainerを覗いてみよう!
Fun tech#14 AlibabaCloud - EDAS(Enterprise Distributed Application Service)
Fun tech#14 AlibabaCloud - EDAS(Enterprise Distributed Application Service)
Azure activedirectoryの最新機能の概要紹介
Azure activedirectoryの最新機能の概要紹介
Open Source x AI
Open Source x AI
Osc fukuoka xAI Meetup
Osc fukuoka xAI Meetup
[Cloud OnAir] Google Cloud Next '18 in Tokyo サーバレス特集 2018年9月27日 放送
[Cloud OnAir] Google Cloud Next '18 in Tokyo サーバレス特集 2018年9月27日 放送
AWS CloudFormationによるInfrastructure as Codeの実現
AWS CloudFormationによるInfrastructure as Codeの実現
Azure Fundamental
Azure Fundamental
XDev2010 WindowsAzure
XDev2010 WindowsAzure
GraalVM Native Imageが見せた未来
GraalVM Native Imageが見せた未来
Tech summitの歩き方 azure編
Tech summitの歩き方 azure編
仮想通貨取引所 bitbank の IaC の導入と実践
仮想通貨取引所 bitbank の IaC の導入と実践
2021/02/19 Alterbooth 多忙なアーキテクトのためのクラウド導入フレームワーク (CAF) ダイジェスト
2021/02/19 Alterbooth 多忙なアーキテクトのためのクラウド導入フレームワーク (CAF) ダイジェスト
GTC Japan 2016 Rescaleセッション資料「クラウドHPC ではじめるDeep Learning」- Oct/5/2016 at GTC ...
GTC Japan 2016 Rescaleセッション資料「クラウドHPC ではじめるDeep Learning」- Oct/5/2016 at GTC ...
Logic Apps/Flow Update Summary
Logic Apps/Flow Update Summary
Slack、Lineでチャットボットを動かす / Connect a QnA Bot to slack and line
1.
Slack、Lineでチャットボットを動かす 八王子AI 2019/11/23 Hideki Tsujimoto(moto2g)
2.
majipon.jp FUN IT @moto2g ITエンジニア フリーランス も
っ さ ん 辻本 秀樹 CoderDojo メンター ものづくりのワクワクをもっと広めたい
3.
アジェンダ (復習)QnA Makerの準備
Slackとの連携 LINEとの連携
4.
(復習)QnA Makerの準備
5.
https://www.qnamaker.ai/ [Create a QnA
service] → Azureポータルに遷移してQnA Serviceを作る
6.
QnA Service(QnA Maker)のリソース作成
7.
AppServiceを無償プランへ変更 [スケールアップ]でF1を選択
8.
ナレッジベースを作成しQnAサービスを接続
9.
今回はQ&Aを記載したExcelから生成 [Create your KB]
10.
ExcelからQ&Aが抽出されたら[Save and train]
11.
[Test]でテスト
12.
[PUBLISH]
13.
[Create Bot]でAPI化
14.
Webアプリボット(Bot Service)の作成
15.
[Webチャットでテスト]
16.
Slackとの連携
17.
大まかな流れ Slackアプリを作成してキーをゲット AzureでSlackチャンネルを作成してSlackアプリと接続
ワークスペースにSlackアプリを追加
18.
https://slack.com/signin チャットボットを接続するワークスペースにサインイン
19.
https://api.slack.com/apps [Create New App]
20.
21.
OAuth & Permissionsタブ [Redirect
URL] https://slack.botframework.com を入力して保存
22.
Bot Userタブ [Display name]、[Default
username]を指定 [Always Show My Bot as Online]をON にして保存
23.
Events Subscriptionsタブ [Request URL] https://slack.botframework.com/ api/Events/ボット名 を入力 ボット名はAzureで作成したもの 下記でも確認できる https://dev.botframework.com/bots
24.
[Subscribe to bot
events] チャットボットにメンションしたら反応する場合、 下記のあたりを追加しておけばOK app_mention member_joined_channel member_left_channel ※Azureの公式説明では下記を追加している member_joined_channel member_left_channel message.channels message.groups message.im message.mpim
25.
Basic Inormationタブ [App Credentials]の以下をメモ [Client
ID] [Client Secret] [Verification Token]
26.
Webアプリ ボットの [チャンネル]からSlackを選択
27.
Slackでメモした内容を入力して保存 [クライアントID] ← [Client
ID] [クライアントシークレット] ← [Client Secret] [確認トークン] ← [Verification Token]
28.
Basic Inormationタブ [Install your
app to your workspace]で[Install App to Workspace] ワークスペースにチャットボットを追加
29.
30.
/invite でチャットボットをチャンネルに呼ぶ
31.
Lineとの連携
32.
大まかな流れ Slackアプリを作成してキーをゲット AzureでSlackチャンネルを作成してSlackアプリと接続
ワークスペースにSlackアプリを追加
33.
https://developers.line.biz/console/register/messaging-api/provider/ Line Develper アカウントでログイン [プロバイダーリスト]からチャットボット用のプロバイダを選択する
34.
新規チャンネルを作成する Messaging API を選択
35.
アプリ名などを入力して保存
36.
情報収集されることへの同意
37.
作ったチャンネルを開く チャンネル基本設定タブ メッセージ送受信設定のアクセストークン(ロングターム)を発行する。 とりあえず24時間 下記をメモ [Channel Secret] [アクセストークン]
38.
Webアプリ ボットのチャンネルから、LINEを選択
39.
LINEでメモした内容を入力して保存 [チャンネルシークレット] ← [Channel
Secret] [チャンネルアクセストーク] ← [アクセストークン] 保存したら [webhookのURL] をコピー
40.
[Webhook送信] を「利用する」に設定 [Webhook URL]に先程コピーしたURLを入力
41.
自動応答メッセージの設定を「利用しない」にする
42.
バーコードから友だち追加して、LINEで話しかけてみる
43.
おつかれさまでした
Jetzt herunterladen