SlideShare a Scribd company logo
1 of 29
Download to read offline
2018/11/27
Agenda
AI
Capabilities
Bot Features:
Personality
Dialogs
Language Model
Language
Understanding
Speech
Vision
QnA
Devices
Channels
Type Speak
Tap
User
Input
Adaptive
Cards
LOB Apps
Enterprise stores
Knowledge
Sources
Manuals
(PDF)
Data Sources
General
Knowledge
Conversational AI
Azure Bot Service +
Cognitive Services
チャットボットの機能と要素技術
チャットボットの機能と要素技術
入出力
認知機能
ナレッジソース
外部サービス
メニュー
ワークフロー
Web Services Layer
Cognitive Services
Microsoft
Graph
Azure Search
Azure
CosmosDB
Azure
SQL DB
Azure
Storage
Azure
Bot Service
(Channel)
Azure
App Service
(Web App)
Azure
Active Directory
QnA Maker
User Client Layer Bot Service Layer
Cognitive & AI Layer
Database Layer
Web Chat
MicrosoftTeams /
Skype forBusiness
Direct Line
(Web API)
Bot Framework をつかったチャットボットアプリ構成例
Bot
Framework
-based
Web Services Layer
Cognitive Services
Microsoft
Graph
Azure Search
Azure
CosmosDB
Azure
SQL DB
Azure
Storage
Azure
Bot Service
(Channel)
Azure
App Service
(Web App)
Azure
Active Directory
QnA Maker
User Client Layer Bot Service Layer
Cognitive & AI Layer
Database Layer
Web Chat
MicrosoftTeams /
Skype forBusiness
Direct Line
(Web API)
Bot Framework をつかったチャットボットアプリ構成例
Bot
Framework
-based
入出力 メニュー
ワークフロー
認知機能 ナレッジソース
外部
サービス
Web Services Layer
Cognitive Services
Microsoft
Graph
Azure Search
Azure
CosmosDB
Azure
SQL DB
Azure
Storage
Azure
Bot Service
(Channel)
Azure
App Service
(Web App)
Azure
Active Directory
QnA Maker
User Client Layer Bot Service Layer
Cognitive & AI Layer
Database Layer
Web Chat
MicrosoftTeams /
Skype forBusiness
Direct Line
(Web API)
Bot Framework をつかったチャットボットアプリ構成例
Bot
Framework
-based
Azure Bot Service
Microsoft Bot Framework によるチャットボット開発
Azure
Bot Service
(Channel)
Azure
App Service
(Web App)
Bot
Framework
-based
テンプレート、
サンプルなど
http://localhost:3878
/api/messages/
http://xxx.azurewebsites.net/
api/messages/ Visual Studio
Template
(VSIX)
Bot Framework
Emulator
Azure
Bot Service
Template(zip)
Web Deploy
Visual Studio
Visual Studio Code
Azure DevOps 等の
レポジトリ
Azure App Service
Editor (browser)
Auto Deploy
Microsoft Bot Framework によるチャットボット開発
Azure
Bot Service
(Channel)
Azure
App Service
(Web App)
Bot
Framework
-based
http://localhost:3878
/api/messages/
http://xxx.azurewebsites.net/
api/messages/
Bot Framework
Emulator
Azure
Bot Service
Template(zip)
Web Deploy
Visual Studio
Visual Studio Code
Azure DevOps 等の
レポジトリ
Azure App Service
Editor (browser)
Auto Deploy
Microsoft Bot Framework によるチャットボット開発
Microsoft Bot Framework によるチャットボット開発
Web Chat Test
(Azure Bot Service) Bot Framework Emulator v4
Microsoft Bot Framework によるチャットボット開発
Visual Studio から
Web Deploy
Microsoft Bot Framework によるチャットボット開発
Deploy Center
(Azure App Service)
Microsoft Bot Framework によるチャットボット開発
App Service Editor
(Azure App Service)
Azure
App Service
(Web App)
Bot
Framework
-based
Azure
Bot Service
(Channel)
Microsoft Bot Framework によるチャットボット開発
http://localhost:3878
/api/messages/
http://xxx.azurewebsites.net/
api/messages/
Bot Framework
Emulator
Web Deploy
Visual Studio
Visual Studio Code
Azure DevOps 等の
レポジトリ
Azure App Service
Editor (browser)
Auto Deploy
Visual Studio
Template
(VSIX)
Microsoft Bot Framework によるチャットボット開発
https://marketplace.visualstudio.com/items?itemName=BotBuilder.BotBuilderV4
https://docs.microsoft.com/en-us/azure/bot-service/javascript/bot-
builder-javascript-quickstart?view=azure-bot-service-4.0
Azure Bot Services vs Visual Studio テンプレート
Azure Bot Service
Visual Studio テンプレート
(またはサンプルコード、独自開発など)
◎ App Service、Bot Service Registration
(Bot Channel の初期設定) を一括で設定
△ App Service へのデプロイ と Bot Service
Registration を別々に実行する必要あり
△ (BasicBotの場合) LUIS を自動作成&設定 〇 Cognitive/NLPなどを独自に設定
△ (C#の場合) VSプロジェクト & アプリ名が固定
(EchoBot or BasicBot)
〇 VSでプロジェクト作成時に好みの名前を設定
可能
〇 Azure App Service (Web App) とメニューが
統合されている
△ Bot Service or App Service のどちらで提供
されている機能なのか意識する必要あり
※2018年11月時点 の私見
Microsoft Bot Framework によるチャットボット開発
Microsoft Bot Framework によるチャットボット開発
Microsoft Bot Framework によるチャットボット開発
Web Services Layer
Cognitive Services
Microsoft
Graph
Azure Search
Azure
CosmosDB
Azure
SQL DB
Azure
Storage
Azure
Bot Service
(Channel)
Azure
App Service
(Web App)
Azure
Active Directory
QnA Maker
User Client Layer Bot Service Layer
Cognitive & AI Layer
Database Layer
Web Chat
MicrosoftTeams /
Skype forBusiness
Direct Line
(Web API)
Azure Bot Service / Bot Registration がやっていること
Bot
Framework
-based
Azure Bot Service
Azure Bot Service / Bot Registration がやっていること
Azure
Bot Service
(Channel)
Azure
App Service
(Web App)
Bot Service Layer
Bot
Framework
-based
Microsoft
Application
Registration
Bot ID/Pwd
Microsoft
Graph
Azure
Active Directory
User Client Layer
Web Chat
MicrosoftTeams /
Skype forBusiness
Direct Line
(Web API)
http://localhost:3878
/api/messages/
http://xxx.azurewebsites.net/
api/messages/
Bot Framework
Emulator
Local
Deployment
(Web App)
Bot ID: xxxx
Bot Pwd: xxxxx
Bot ID: (blank)
Bot Pwd: (blank)
App ID/Pwd
Azure Bot Service を介して
ボットに認証を追加する
https://docs.microsoft.com/
ja-jp/azure/bot-service/bot-
builder-authentication
◼ 本書に記載した情報は、本書各項目に関する発行日現在の Microsoft の見解を表明するものです。Microsoftは絶えず変化する市場に対応しなければならないため、
ここに記載した情報に対していかなる責務を負うものではなく、提示された情報の信憑性については保証できません。
◼ 本書は情報提供のみを目的としています。 Microsoft は、明示的または暗示的を問わず、本書にいかなる保証も与えるものではありません。
◼ すべての当該著作権法を遵守することはお客様の責務です。Microsoftの書面による明確な許可なく、本書の如何なる部分についても、転載や検索システムへの格納または挿入を行うことは、どのような形式または手段(電子的、機械的、複写、レコーディング、そ
の他)、および目的であっても禁じられています。
これらは著作権保護された権利を制限するものではありません。
◼ Microsoftは、本書の内容を保護する特許、特許出願書、商標、著作権、またはその他の知的財産権を保有する場合があります。Microsoftから書面によるライセンス契約が明確に供給される場合を除いて、本書の提供はこれらの特許、商標、著作権、またはそ
の他の知的財産へのライセンスを与えるものではありません。
© 2018 Microsoft Corporation. All rights reserved.
Microsoft, Windows, その他本文中に登場した各製品名は、Microsoft Corporation の米国およびその他の国における登録商標または商標です。
その他、記載されている会社名および製品名は、一般に各社の商標です。

More Related Content

More from Ayako Omori

DLL: Ignite2019 CognitiveServices Update 20191127
DLL: Ignite2019 CognitiveServices Update 20191127DLL: Ignite2019 CognitiveServices Update 20191127
DLL: Ignite2019 CognitiveServices Update 20191127Ayako Omori
 
Microsoft Conversational AI_20191030
Microsoft Conversational AI_20191030Microsoft Conversational AI_20191030
Microsoft Conversational AI_20191030Ayako Omori
 
Cognitive Services Speech Service ことはじめ_20190725
Cognitive Services Speech Service ことはじめ_20190725Cognitive Services Speech Service ことはじめ_20190725
Cognitive Services Speech Service ことはじめ_20190725Ayako Omori
 
Cogbot Azure Line Bot Handson_20190420
Cogbot Azure Line Bot Handson_20190420Cogbot Azure Line Bot Handson_20190420
Cogbot Azure Line Bot Handson_20190420Ayako Omori
 
Azure Bot Service Handson 20190409
Azure Bot Service Handson 20190409Azure Bot Service Handson 20190409
Azure Bot Service Handson 20190409Ayako Omori
 
使ってみよう!Cognitive Services Container_20190122
使ってみよう!Cognitive Services Container_20190122使ってみよう!Cognitive Services Container_20190122
使ってみよう!Cognitive Services Container_20190122Ayako Omori
 
関西Azure勉強会 Cognitive Services アップデート_20180628
関西Azure勉強会 Cognitive Services アップデート_20180628関西Azure勉強会 Cognitive Services アップデート_20180628
関西Azure勉強会 Cognitive Services アップデート_20180628Ayako Omori
 
ノンコーディング開発大集合!CognitiveServices概要_20180626
ノンコーディング開発大集合!CognitiveServices概要_20180626ノンコーディング開発大集合!CognitiveServices概要_20180626
ノンコーディング開発大集合!CognitiveServices概要_20180626Ayako Omori
 
Cogbot 勉強会 #13: クラウド地獄にならない Azure の使い方
Cogbot 勉強会 #13: クラウド地獄にならない Azure の使い方Cogbot 勉強会 #13: クラウド地獄にならない Azure の使い方
Cogbot 勉強会 #13: クラウド地獄にならない Azure の使い方Ayako Omori
 
Cogbot 勉強会 in Nagoya ハンズオン_20180310
Cogbot 勉強会 in Nagoya ハンズオン_20180310Cogbot 勉強会 in Nagoya ハンズオン_20180310
Cogbot 勉強会 in Nagoya ハンズオン_20180310Ayako Omori
 
Cogbot 勉強会 in Nagoya ハンズオン_20180310
Cogbot 勉強会 in Nagoya ハンズオン_20180310Cogbot 勉強会 in Nagoya ハンズオン_20180310
Cogbot 勉強会 in Nagoya ハンズオン_20180310Ayako Omori
 
Cogbot 勉強会 in Nagoya : Cognitive Services 概要 20180310
Cogbot 勉強会 in Nagoya : Cognitive Services 概要 20180310Cogbot 勉強会 in Nagoya : Cognitive Services 概要 20180310
Cogbot 勉強会 in Nagoya : Cognitive Services 概要 20180310Ayako Omori
 
Azure Webinar : Microsoft Bot Framework ではじめるチャットボット開発_20180301
Azure Webinar : Microsoft Bot Framework ではじめるチャットボット開発_20180301Azure Webinar : Microsoft Bot Framework ではじめるチャットボット開発_20180301
Azure Webinar : Microsoft Bot Framework ではじめるチャットボット開発_20180301Ayako Omori
 
Azure On-site Seminar: AI 最新技術と Microsoft AI Platform
Azure On-site Seminar:  AI 最新技術と Microsoft AI PlatformAzure On-site Seminar:  AI 最新技術と Microsoft AI Platform
Azure On-site Seminar: AI 最新技術と Microsoft AI PlatformAyako Omori
 
HACH-CHU 2018: "人工知能パーツ" Microsoft Cognitive Services_20180217
HACH-CHU 2018: "人工知能パーツ" Microsoft Cognitive Services_20180217HACH-CHU 2018: "人工知能パーツ" Microsoft Cognitive Services_20180217
HACH-CHU 2018: "人工知能パーツ" Microsoft Cognitive Services_20180217Ayako Omori
 
使ってみよう!”人工知能パーツ” Microsoft Cognitive Services_20180216
使ってみよう!”人工知能パーツ” Microsoft Cognitive Services_20180216使ってみよう!”人工知能パーツ” Microsoft Cognitive Services_20180216
使ってみよう!”人工知能パーツ” Microsoft Cognitive Services_20180216Ayako Omori
 
Azure Webinar - Cognitive Services 概要[Demo編]_20180123
Azure Webinar - Cognitive Services 概要[Demo編]_20180123Azure Webinar - Cognitive Services 概要[Demo編]_20180123
Azure Webinar - Cognitive Services 概要[Demo編]_20180123Ayako Omori
 
Azure Webinar : Cognitive Services 概要_20180123
Azure Webinar : Cognitive Services 概要_20180123Azure Webinar : Cognitive Services 概要_20180123
Azure Webinar : Cognitive Services 概要_20180123Ayako Omori
 
Azure Webinar: Microsoft Bot Framework と Cognitive Services LUIS で実現する自然言語解析B...
Azure Webinar: Microsoft Bot Framework と Cognitive Services LUIS で実現する自然言語解析B...Azure Webinar: Microsoft Bot Framework と Cognitive Services LUIS で実現する自然言語解析B...
Azure Webinar: Microsoft Bot Framework と Cognitive Services LUIS で実現する自然言語解析B...Ayako Omori
 
Azure webinar botframeworkfundamentals_20171117
Azure webinar botframeworkfundamentals_20171117Azure webinar botframeworkfundamentals_20171117
Azure webinar botframeworkfundamentals_20171117Ayako Omori
 

More from Ayako Omori (20)

DLL: Ignite2019 CognitiveServices Update 20191127
DLL: Ignite2019 CognitiveServices Update 20191127DLL: Ignite2019 CognitiveServices Update 20191127
DLL: Ignite2019 CognitiveServices Update 20191127
 
Microsoft Conversational AI_20191030
Microsoft Conversational AI_20191030Microsoft Conversational AI_20191030
Microsoft Conversational AI_20191030
 
Cognitive Services Speech Service ことはじめ_20190725
Cognitive Services Speech Service ことはじめ_20190725Cognitive Services Speech Service ことはじめ_20190725
Cognitive Services Speech Service ことはじめ_20190725
 
Cogbot Azure Line Bot Handson_20190420
Cogbot Azure Line Bot Handson_20190420Cogbot Azure Line Bot Handson_20190420
Cogbot Azure Line Bot Handson_20190420
 
Azure Bot Service Handson 20190409
Azure Bot Service Handson 20190409Azure Bot Service Handson 20190409
Azure Bot Service Handson 20190409
 
使ってみよう!Cognitive Services Container_20190122
使ってみよう!Cognitive Services Container_20190122使ってみよう!Cognitive Services Container_20190122
使ってみよう!Cognitive Services Container_20190122
 
関西Azure勉強会 Cognitive Services アップデート_20180628
関西Azure勉強会 Cognitive Services アップデート_20180628関西Azure勉強会 Cognitive Services アップデート_20180628
関西Azure勉強会 Cognitive Services アップデート_20180628
 
ノンコーディング開発大集合!CognitiveServices概要_20180626
ノンコーディング開発大集合!CognitiveServices概要_20180626ノンコーディング開発大集合!CognitiveServices概要_20180626
ノンコーディング開発大集合!CognitiveServices概要_20180626
 
Cogbot 勉強会 #13: クラウド地獄にならない Azure の使い方
Cogbot 勉強会 #13: クラウド地獄にならない Azure の使い方Cogbot 勉強会 #13: クラウド地獄にならない Azure の使い方
Cogbot 勉強会 #13: クラウド地獄にならない Azure の使い方
 
Cogbot 勉強会 in Nagoya ハンズオン_20180310
Cogbot 勉強会 in Nagoya ハンズオン_20180310Cogbot 勉強会 in Nagoya ハンズオン_20180310
Cogbot 勉強会 in Nagoya ハンズオン_20180310
 
Cogbot 勉強会 in Nagoya ハンズオン_20180310
Cogbot 勉強会 in Nagoya ハンズオン_20180310Cogbot 勉強会 in Nagoya ハンズオン_20180310
Cogbot 勉強会 in Nagoya ハンズオン_20180310
 
Cogbot 勉強会 in Nagoya : Cognitive Services 概要 20180310
Cogbot 勉強会 in Nagoya : Cognitive Services 概要 20180310Cogbot 勉強会 in Nagoya : Cognitive Services 概要 20180310
Cogbot 勉強会 in Nagoya : Cognitive Services 概要 20180310
 
Azure Webinar : Microsoft Bot Framework ではじめるチャットボット開発_20180301
Azure Webinar : Microsoft Bot Framework ではじめるチャットボット開発_20180301Azure Webinar : Microsoft Bot Framework ではじめるチャットボット開発_20180301
Azure Webinar : Microsoft Bot Framework ではじめるチャットボット開発_20180301
 
Azure On-site Seminar: AI 最新技術と Microsoft AI Platform
Azure On-site Seminar:  AI 最新技術と Microsoft AI PlatformAzure On-site Seminar:  AI 最新技術と Microsoft AI Platform
Azure On-site Seminar: AI 最新技術と Microsoft AI Platform
 
HACH-CHU 2018: "人工知能パーツ" Microsoft Cognitive Services_20180217
HACH-CHU 2018: "人工知能パーツ" Microsoft Cognitive Services_20180217HACH-CHU 2018: "人工知能パーツ" Microsoft Cognitive Services_20180217
HACH-CHU 2018: "人工知能パーツ" Microsoft Cognitive Services_20180217
 
使ってみよう!”人工知能パーツ” Microsoft Cognitive Services_20180216
使ってみよう!”人工知能パーツ” Microsoft Cognitive Services_20180216使ってみよう!”人工知能パーツ” Microsoft Cognitive Services_20180216
使ってみよう!”人工知能パーツ” Microsoft Cognitive Services_20180216
 
Azure Webinar - Cognitive Services 概要[Demo編]_20180123
Azure Webinar - Cognitive Services 概要[Demo編]_20180123Azure Webinar - Cognitive Services 概要[Demo編]_20180123
Azure Webinar - Cognitive Services 概要[Demo編]_20180123
 
Azure Webinar : Cognitive Services 概要_20180123
Azure Webinar : Cognitive Services 概要_20180123Azure Webinar : Cognitive Services 概要_20180123
Azure Webinar : Cognitive Services 概要_20180123
 
Azure Webinar: Microsoft Bot Framework と Cognitive Services LUIS で実現する自然言語解析B...
Azure Webinar: Microsoft Bot Framework と Cognitive Services LUIS で実現する自然言語解析B...Azure Webinar: Microsoft Bot Framework と Cognitive Services LUIS で実現する自然言語解析B...
Azure Webinar: Microsoft Bot Framework と Cognitive Services LUIS で実現する自然言語解析B...
 
Azure webinar botframeworkfundamentals_20171117
Azure webinar botframeworkfundamentals_20171117Azure webinar botframeworkfundamentals_20171117
Azure webinar botframeworkfundamentals_20171117
 

Recently uploaded

論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...Toru Tamaki
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)Hiroki Ichikura
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdftaisei2219
 
スマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムスマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムsugiuralab
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものですiPride Co., Ltd.
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Yuma Ohgami
 
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略Ryo Sasaki
 
論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNetToru Tamaki
 
Postman LT Fukuoka_Quick Prototype_By Daniel
Postman LT Fukuoka_Quick Prototype_By DanielPostman LT Fukuoka_Quick Prototype_By Daniel
Postman LT Fukuoka_Quick Prototype_By Danieldanielhu54
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A surveyToru Tamaki
 

Recently uploaded (10)

論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdf
 
スマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムスマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システム
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものです
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
 
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
 
論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet
 
Postman LT Fukuoka_Quick Prototype_By Daniel
Postman LT Fukuoka_Quick Prototype_By DanielPostman LT Fukuoka_Quick Prototype_By Daniel
Postman LT Fukuoka_Quick Prototype_By Daniel
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey
 

Cogbot_Bot Framework V4 のはじめかた_20181128

  • 2.
  • 4.
  • 5.
  • 6. AI Capabilities Bot Features: Personality Dialogs Language Model Language Understanding Speech Vision QnA Devices Channels Type Speak Tap User Input Adaptive Cards LOB Apps Enterprise stores Knowledge Sources Manuals (PDF) Data Sources General Knowledge Conversational AI Azure Bot Service + Cognitive Services チャットボットの機能と要素技術
  • 8. Web Services Layer Cognitive Services Microsoft Graph Azure Search Azure CosmosDB Azure SQL DB Azure Storage Azure Bot Service (Channel) Azure App Service (Web App) Azure Active Directory QnA Maker User Client Layer Bot Service Layer Cognitive & AI Layer Database Layer Web Chat MicrosoftTeams / Skype forBusiness Direct Line (Web API) Bot Framework をつかったチャットボットアプリ構成例 Bot Framework -based
  • 9. Web Services Layer Cognitive Services Microsoft Graph Azure Search Azure CosmosDB Azure SQL DB Azure Storage Azure Bot Service (Channel) Azure App Service (Web App) Azure Active Directory QnA Maker User Client Layer Bot Service Layer Cognitive & AI Layer Database Layer Web Chat MicrosoftTeams / Skype forBusiness Direct Line (Web API) Bot Framework をつかったチャットボットアプリ構成例 Bot Framework -based 入出力 メニュー ワークフロー 認知機能 ナレッジソース 外部 サービス
  • 10. Web Services Layer Cognitive Services Microsoft Graph Azure Search Azure CosmosDB Azure SQL DB Azure Storage Azure Bot Service (Channel) Azure App Service (Web App) Azure Active Directory QnA Maker User Client Layer Bot Service Layer Cognitive & AI Layer Database Layer Web Chat MicrosoftTeams / Skype forBusiness Direct Line (Web API) Bot Framework をつかったチャットボットアプリ構成例 Bot Framework -based Azure Bot Service
  • 11.
  • 12. Microsoft Bot Framework によるチャットボット開発 Azure Bot Service (Channel) Azure App Service (Web App) Bot Framework -based テンプレート、 サンプルなど http://localhost:3878 /api/messages/ http://xxx.azurewebsites.net/ api/messages/ Visual Studio Template (VSIX) Bot Framework Emulator Azure Bot Service Template(zip) Web Deploy Visual Studio Visual Studio Code Azure DevOps 等の レポジトリ Azure App Service Editor (browser) Auto Deploy
  • 13. Microsoft Bot Framework によるチャットボット開発 Azure Bot Service (Channel) Azure App Service (Web App) Bot Framework -based http://localhost:3878 /api/messages/ http://xxx.azurewebsites.net/ api/messages/ Bot Framework Emulator Azure Bot Service Template(zip) Web Deploy Visual Studio Visual Studio Code Azure DevOps 等の レポジトリ Azure App Service Editor (browser) Auto Deploy
  • 14. Microsoft Bot Framework によるチャットボット開発
  • 15. Microsoft Bot Framework によるチャットボット開発 Web Chat Test (Azure Bot Service) Bot Framework Emulator v4
  • 16. Microsoft Bot Framework によるチャットボット開発 Visual Studio から Web Deploy
  • 17. Microsoft Bot Framework によるチャットボット開発 Deploy Center (Azure App Service)
  • 18. Microsoft Bot Framework によるチャットボット開発 App Service Editor (Azure App Service)
  • 19. Azure App Service (Web App) Bot Framework -based Azure Bot Service (Channel) Microsoft Bot Framework によるチャットボット開発 http://localhost:3878 /api/messages/ http://xxx.azurewebsites.net/ api/messages/ Bot Framework Emulator Web Deploy Visual Studio Visual Studio Code Azure DevOps 等の レポジトリ Azure App Service Editor (browser) Auto Deploy Visual Studio Template (VSIX)
  • 20. Microsoft Bot Framework によるチャットボット開発 https://marketplace.visualstudio.com/items?itemName=BotBuilder.BotBuilderV4 https://docs.microsoft.com/en-us/azure/bot-service/javascript/bot- builder-javascript-quickstart?view=azure-bot-service-4.0
  • 21. Azure Bot Services vs Visual Studio テンプレート Azure Bot Service Visual Studio テンプレート (またはサンプルコード、独自開発など) ◎ App Service、Bot Service Registration (Bot Channel の初期設定) を一括で設定 △ App Service へのデプロイ と Bot Service Registration を別々に実行する必要あり △ (BasicBotの場合) LUIS を自動作成&設定 〇 Cognitive/NLPなどを独自に設定 △ (C#の場合) VSプロジェクト & アプリ名が固定 (EchoBot or BasicBot) 〇 VSでプロジェクト作成時に好みの名前を設定 可能 〇 Azure App Service (Web App) とメニューが 統合されている △ Bot Service or App Service のどちらで提供 されている機能なのか意識する必要あり ※2018年11月時点 の私見
  • 22. Microsoft Bot Framework によるチャットボット開発
  • 23. Microsoft Bot Framework によるチャットボット開発
  • 24. Microsoft Bot Framework によるチャットボット開発
  • 25.
  • 26. Web Services Layer Cognitive Services Microsoft Graph Azure Search Azure CosmosDB Azure SQL DB Azure Storage Azure Bot Service (Channel) Azure App Service (Web App) Azure Active Directory QnA Maker User Client Layer Bot Service Layer Cognitive & AI Layer Database Layer Web Chat MicrosoftTeams / Skype forBusiness Direct Line (Web API) Azure Bot Service / Bot Registration がやっていること Bot Framework -based Azure Bot Service
  • 27. Azure Bot Service / Bot Registration がやっていること Azure Bot Service (Channel) Azure App Service (Web App) Bot Service Layer Bot Framework -based Microsoft Application Registration Bot ID/Pwd Microsoft Graph Azure Active Directory User Client Layer Web Chat MicrosoftTeams / Skype forBusiness Direct Line (Web API) http://localhost:3878 /api/messages/ http://xxx.azurewebsites.net/ api/messages/ Bot Framework Emulator Local Deployment (Web App) Bot ID: xxxx Bot Pwd: xxxxx Bot ID: (blank) Bot Pwd: (blank) App ID/Pwd Azure Bot Service を介して ボットに認証を追加する https://docs.microsoft.com/ ja-jp/azure/bot-service/bot- builder-authentication
  • 28.
  • 29. ◼ 本書に記載した情報は、本書各項目に関する発行日現在の Microsoft の見解を表明するものです。Microsoftは絶えず変化する市場に対応しなければならないため、 ここに記載した情報に対していかなる責務を負うものではなく、提示された情報の信憑性については保証できません。 ◼ 本書は情報提供のみを目的としています。 Microsoft は、明示的または暗示的を問わず、本書にいかなる保証も与えるものではありません。 ◼ すべての当該著作権法を遵守することはお客様の責務です。Microsoftの書面による明確な許可なく、本書の如何なる部分についても、転載や検索システムへの格納または挿入を行うことは、どのような形式または手段(電子的、機械的、複写、レコーディング、そ の他)、および目的であっても禁じられています。 これらは著作権保護された権利を制限するものではありません。 ◼ Microsoftは、本書の内容を保護する特許、特許出願書、商標、著作権、またはその他の知的財産権を保有する場合があります。Microsoftから書面によるライセンス契約が明確に供給される場合を除いて、本書の提供はこれらの特許、商標、著作権、またはそ の他の知的財産へのライセンスを与えるものではありません。 © 2018 Microsoft Corporation. All rights reserved. Microsoft, Windows, その他本文中に登場した各製品名は、Microsoft Corporation の米国およびその他の国における登録商標または商標です。 その他、記載されている会社名および製品名は、一般に各社の商標です。