Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Intro to Bot Framework
Shahed Chowdhuri
Sr. Technical Evangelist @ Microsoft
@shahedC
WakeUpAndCode.com
Build and connect ...
Speaker
Shahed Chowdhuri
Sr. Technical Evangelist @ Microsoft
Technology Areas
• Enterprise Web/Software Development
• Gam...
What Are Bots?
MS Bot Framework https://dev.botframework.com
Overview http://docs.botframework.com
Bot Framework:
• Builder SDK
• Connector
• Dev Portal
• Directory
What’s New in V3
https://docs.microsoft.com/en-us/bot-framework/resources-upgrade-to-v3
• BotBuilder + Connector
= 1 SDK
•...
Building a Bot
Bot Builder SDK for .NET with C#
https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-quickstart
MessagesController
RootDialog
Visual Studio: File | New | Project
Test Your Bot
Emulator: https://aka.ms/bf-bc-emulator
Direct Download: https://emulator.botframework.com/
Bot Framework Emulator
Application Code
DB Connectivity with Entity Framework
https://blog.botframework.com/2017/07/26/saving-state-sql-dotnet/
D...
Saving State to SQL Azure
https://blog.botframework.com/2017/07/26/saving-state-sql-dotnet/
Deploy to Azure
https://docs.microsoft.com/en-us/bot-framework/deploy-bot-visual-studio
Register Your Bot
https://docs.microsoft.com/en-us/bot-framework/portal-register-bot
Bot Builder SDK for Node.js
https://docs.microsoft.com/en-us/bot-framework/nodejs/bot-builder-nodejs-quickstart
Build a Bot with Node.js
Visual Studio Code
Download: http://code.visualstudio.com/
Test Your Bot
Emulator: https://aka.ms/bf-bc-emulator
Azure Bot Service
https://docs.microsoft.com/en-us/bot-framework/azure/azure-bot-service-quickstart
Connect & Config
Connect to Channels
Channels:
• Email
• GroupMe
• Skype
• Slack
• SMS
• Telegram
• Web
• etc...
Configure: Direct Line
https://dev.botframework.com/channels/directline/YOUR-BOT-ID
Configure: Web Chat
https://dev.botframework.com/channels/webchat/YOUR-BOT-ID
Configure: SMS (via Twilio)
https://sms.botframework.com/Dev/?botId=YOUR-BOT-ID
Configure: Facebook Messenger
https://facebook.botframework.com/Dev/?botId=YOUR-BOT-ID
FB Developer Settings
https://developers.facebook.com
BotBuilder on GitHub!
https://github.com/Microsoft/botbuilder
Language Understanding Intelligent Service
https://www.luis.ai/ Help: https://www.luis.ai/Help
LUIS: Intents, Entities & Labels
Intents in LUIS
Intent:
Summarizes
the intentions
of an
utterance
Utterances in LUIS
Entities in LUIS
Entity: Data
object that
can be pre-
built or
custom-
defined.
Labels in LUIS
Label:
Marked
segment of
utterance to
associate
terms with
corresponding
entities.
Using LUIS in your Code
Bot Directory
https://bots.botframework.com/
Demo
Game Chat Bot
http://gamechatbot.azurewebsites.net/
MVA: Bots with C#
Link: https://aka.ms/mvabots-cs
MVA: Bots with NodeJS
Link: https://aka.ms/mvabots-js
Daniel Egan’s Bot Workshop
Link: https://github.com/DanielEgan/BotWorkshop
Programming the Microsoft Bot Framework
• Author: (MVP) Joe Mayo
• Tech Editor: Shahed Chowdhuri
• Publisher: Microsoft Pr...
Q & A
Email: shchowd@microsoft.com  Twitter: @shahedC
Upcoming SlideShare
Loading in …5
×

Intro to Bot Framework v3 with DB

1,229 views

Published on

Intro to Bot Framework v3 with DB

Published in: Technology
  • Be the first to comment

Intro to Bot Framework v3 with DB

  1. 1. Intro to Bot Framework Shahed Chowdhuri Sr. Technical Evangelist @ Microsoft @shahedC WakeUpAndCode.com Build and connect intelligent bots
  2. 2. Speaker Shahed Chowdhuri Sr. Technical Evangelist @ Microsoft Technology Areas • Enterprise Web/Software Development • Game Development • Mobile Application Development • Cloud Solutions Online • LinkedIn: http://linkedin.com/in/shahedc • Meetup: http://www.meetup.com/DC-MS-Devs/ • Twitter: http://twitter.com/shahedC • Blog: http://WakeUpAndCode.com
  3. 3. What Are Bots?
  4. 4. MS Bot Framework https://dev.botframework.com
  5. 5. Overview http://docs.botframework.com Bot Framework: • Builder SDK • Connector • Dev Portal • Directory
  6. 6. What’s New in V3 https://docs.microsoft.com/en-us/bot-framework/resources-upgrade-to-v3 • BotBuilder + Connector = 1 SDK • Message => Activity • ActivityTypes enum • Message properties • Sending replies with HttpResponseMessage • Starting conversations with 1 user or group • Options => Cards • Bot State service for user data • Web.config changes for ID/Password fields
  7. 7. Building a Bot
  8. 8. Bot Builder SDK for .NET with C# https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-quickstart
  9. 9. MessagesController
  10. 10. RootDialog
  11. 11. Visual Studio: File | New | Project
  12. 12. Test Your Bot Emulator: https://aka.ms/bf-bc-emulator
  13. 13. Direct Download: https://emulator.botframework.com/ Bot Framework Emulator
  14. 14. Application Code DB Connectivity with Entity Framework https://blog.botframework.com/2017/07/26/saving-state-sql-dotnet/ DBORMEntities in Code
  15. 15. Saving State to SQL Azure https://blog.botframework.com/2017/07/26/saving-state-sql-dotnet/
  16. 16. Deploy to Azure https://docs.microsoft.com/en-us/bot-framework/deploy-bot-visual-studio
  17. 17. Register Your Bot https://docs.microsoft.com/en-us/bot-framework/portal-register-bot
  18. 18. Bot Builder SDK for Node.js https://docs.microsoft.com/en-us/bot-framework/nodejs/bot-builder-nodejs-quickstart
  19. 19. Build a Bot with Node.js
  20. 20. Visual Studio Code Download: http://code.visualstudio.com/
  21. 21. Test Your Bot Emulator: https://aka.ms/bf-bc-emulator
  22. 22. Azure Bot Service https://docs.microsoft.com/en-us/bot-framework/azure/azure-bot-service-quickstart
  23. 23. Connect & Config
  24. 24. Connect to Channels Channels: • Email • GroupMe • Skype • Slack • SMS • Telegram • Web • etc...
  25. 25. Configure: Direct Line https://dev.botframework.com/channels/directline/YOUR-BOT-ID
  26. 26. Configure: Web Chat https://dev.botframework.com/channels/webchat/YOUR-BOT-ID
  27. 27. Configure: SMS (via Twilio) https://sms.botframework.com/Dev/?botId=YOUR-BOT-ID
  28. 28. Configure: Facebook Messenger https://facebook.botframework.com/Dev/?botId=YOUR-BOT-ID
  29. 29. FB Developer Settings https://developers.facebook.com
  30. 30. BotBuilder on GitHub! https://github.com/Microsoft/botbuilder
  31. 31. Language Understanding Intelligent Service https://www.luis.ai/ Help: https://www.luis.ai/Help
  32. 32. LUIS: Intents, Entities & Labels
  33. 33. Intents in LUIS Intent: Summarizes the intentions of an utterance
  34. 34. Utterances in LUIS
  35. 35. Entities in LUIS Entity: Data object that can be pre- built or custom- defined.
  36. 36. Labels in LUIS Label: Marked segment of utterance to associate terms with corresponding entities.
  37. 37. Using LUIS in your Code
  38. 38. Bot Directory https://bots.botframework.com/
  39. 39. Demo
  40. 40. Game Chat Bot http://gamechatbot.azurewebsites.net/
  41. 41. MVA: Bots with C# Link: https://aka.ms/mvabots-cs
  42. 42. MVA: Bots with NodeJS Link: https://aka.ms/mvabots-js
  43. 43. Daniel Egan’s Bot Workshop Link: https://github.com/DanielEgan/BotWorkshop
  44. 44. Programming the Microsoft Bot Framework • Author: (MVP) Joe Mayo • Tech Editor: Shahed Chowdhuri • Publisher: Microsoft Press • Coming Soon: Nov 14, 2017 Official Bot Book from Microsoft Press http://aka.ms/BotBook
  45. 45. Q & A
  46. 46. Email: shchowd@microsoft.com  Twitter: @shahedC

×