%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
Â
Bot design AIsatPN 2018
1. Bot Design: come creare un
bot e vivere felici... (forse)
JESSICATIBALDI
Software Engineer | Microsoft CSE Southern Europe
jessica.tibaldi@microsoft.com
@_jetiba
2. Topics
⢠General architecture of bots
⢠Patterns and best practices
⢠First interaction
⢠UI elements
⢠Dialog Stack management
⢠Global Handlers
⢠Language understanding
⢠Bot State management
⢠Handoff to human
⢠Authentication and web flows
⢠Proactive Messages
⢠Analytics
3. Bot web service
Your bot code
Entity
Extraction
Speech
Vision/Face
Natural
Language
Translation
+ Microsoft Cognitive Services
Search
Emotion
Knowledge
API
âŚ
Message input <> output
State Management
Bot Connector Service
Conversation Canvas/Channels
âŚâŚ
âŚ
Other services, APIs,
Databases, Azure Machine
Learning, Azure Search,
etcâŚ
Bot Builder SDK
Web Chat
Direct LineâŚ
Email
Facebook
GroupMe
Kik
Skype
Slack
Telegram
Twilio (SMS)
General Architecture of a Bot
Bot Builder SDK
Your bot code goes here
13. Form Flow
⢠Automatically generate and manage the conversation
⢠Provide clear guidance and help
⢠Understand both numbers and textual entries
⢠Provide feedback to the user regarding what is understood and what
is not
⢠Ask clarifying questions when necessary
⢠Allow the user to navigate between steps
14. Language understanding
⢠Define a language model (intent and entity)
⢠Provide sample utterances and test model
⢠Publish as a REST endpoint
⢠Consume the model in your bot
None Intent must be
well managed
Human Handoff
QnA dialog support
Detailed info, links, ...
15. Demo: LUIS & QnA
Useful links:
https://luis.ai
https://qnamaker.ai
16. Handoff to Human bot
humanNuGet Package:
https://github.com/tompaana/bot-message-routing
21. Proactive Messages
Typically bots react (respond) to messages.
In some cases, they need to proactively send a message (e.g. a
reminder or some async activity that triggers a notification).
Bot needs to keep track of user addresses trigger when to send out
new messages
23. Bot Analytics
Analytics is an extension of Application Insights. Application Insights
provides service-level and instrumentation data like traffic, latency, and
integrations. Analytics provides conversation-level reporting on user,
message, and channel data.