The document discusses Azure Chatbots and provides an overview of:
- The Azure Bot Framework platform for building intelligent chatbots
- How chatbots can integrate with Cognitive Services and external APIs
- The development process including using SDKs for .NET or Node.js, state management, dialogs, and form flows
- Deploying a bot app to the Azure App Service
2. Agenda
Azure Bot Framework Overview
Demo
How it works?
Develop and deploy
Azure Chatbot
Agenda
3. Azure Chatbot
Overview
Azure ChatBot
- An app that users interact with system in a
conversational way
- From simple(gather user input) to high level conversation
(Understand user intent and reply)
- Response with Text, Card(+ Attachment, Button), Prompt
Azure Bot Framework
- A platform for building, connecting, testing, and deploying
powerful and intelligent chatbots on azure environment.
4. Azure Chatbot
Overview
Can be more intelligent when integrate with
- Microsoft Cognitive Service (APIs): Bing Search, Text-
To-Speech, Face Detection, Location..
- Language Understanding Intelligent Service (LUIS)
- External API Service
7. Azure Chatbot
How it
works?
Authentication(Channel),
Message Routing
State Management(Conversation, User, ..)
Architecture
8. Azure Chatbot
Develop-
ment
SignupAzure Account and Subscription.
https://azure.microsoft.com
Create newWeb App Service to store our Bot App
Register a bot (Bot Connector Service)
https://dev.botframework.com/bots/new
- Get App Id and App Password
Develop Bot App using .NET or Node.JS
Publish to Azure App Service
- Manually publish
- Automatically publish usingVisualTeam Service, GitHub
12. Azure Chatbot
Develop-
ment
Dialog Stack => Conversation Flow
Root Dialog
New Order Dialog
Product Search
Dialog
Forward() | Call()
Done() | Fail()
Forward() | Call()
13. Azure Chatbot
Develop-
ment
Conversation => Form Flow
- Manage guided conversation
- Reduce time it take to develop a bot
- Build a flow of forms base on the Property of class or
Optional Form.
- Can add business login to form
Name
Email
Phone
Address
Attribute
- Prompt
- Pattern
- Numeric
- Optional
- Template
- Describe
- Terms
Form Flow
Optional Form
- Confirm
- HasField
- Message
- OnCompletion
- Build
14. Azure Chatbot
Develop-
ment
State Management
- UserData: The persisted data will be available to the same user across different
conversations.
- ConversationData: The persisted data will be available to all the users within the same
conversation.
- PrivateConversationData: The persisted data will be available to the given user in the
given conversation.