Building a bot for your website
-
Upload
david-j-rodriguez-hernandez -
Category
Software
-
view
129 -
download
1
Transcript of Building a bot for your website
#DNNConnect2016
Building a Bot for your website using the new Microsoft Bot Framework
David RodriguezDNN Corp@davidjrh
Joe BrinkmanDNN Corp@jbrinkman
#DNNConnect2016
Please support our valuable sponsors
#DNNConnect2016
On this session
• How do you make a bot?• How do you make a bot great?
#DNNConnect2016
DEMOMy first DNN Bot
#DNNConnect2016
Bot Framework is a Microsoft-operated service and an SDK.
Bot Framework
Bot Framework is one of many tools Microsoft offers for building a complete bot.
www.botframework.comOthers include: LUIS, Speech APIs, Azure, more
#DNNConnect2016
Bot Framework Overview
#DNNConnect2016
Your conversation logic
Logic
Web service
Your bot
Bot Builder SDK
(Node.js + C#)
LUIS
#DNNConnect2016
Bot Connector
Your bot
Bot Connector
Send/receive messagesStore stateTranslationTelemetry
…
Dev portal
#DNNConnect2016
Bot Connector messages
Your bot{ "type": "Message", "id": "68YrxgtB53Y", "conversationId": "DphPaFQrDuZDKyCez4AFGcT4vy5aQDje1lLGIjB8v18MFtb", "language": "en", "text": "You can say \"/order\" to order!", "attachments": [ ], "from": { "name": "+12065551212", "channelId": "sms", "address": "+12065551212", "id": "Ro52hKN287", "isBot": false }, "channelData": { SMS data here }, "botUserData": { your data here }, ...}
Bot Connecto
r
#DNNConnect2016
Bot Builder SDKs
C# and Node.js• Dialogs to model a conversation
• Dialogs are reusable• Conversations are scalable to multiple
machines• Dialog state is persisted in Bot Connector
(per-user, per-session, per-user+session)• Type of Dialogs:
• Built-in prompts• Yes/No, String, Number, Choices
• Natural language understanding (LUIS)• Form slot filling (branching, disambiguation,
multi-turn)• Profile (e.g. home address)
#DNNConnect2016
DEMOCreating a bot from the Visual Studio templateCreating a bot as a DNN module using the Bot FX
#DNNConnect2016
Connecting the bot with the world
#DNNConnect2016
Connecting the bot with the world
#DNNConnect2016
Connecting the bot with the world
#DNNConnect2016
Connecting the bot with the world
#DNNConnect2016
DEMOMaking a great bot: LUIS support
#DNNConnect2016
#DNNConnect2016
Bots talking to other Bots?
#DNNConnect2016
Questions?
Please remember to evaluate the session online
Thank you