1 / 46

Intro to Bot Framework

Build and connect intelligent bots. Intro to Bot Framework. Shahed Chowdhuri Sr. Technical Evangelist @ Microsoft @ shahedC WakeUpAndCode.com. Speaker. Shahed Chowdhuri Sr. Technical Evangelist @ Microsoft. Technology Areas Enterprise Web/Software Development Game Development

swigert
Download Presentation

Intro to Bot Framework

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Build and connect intelligent bots Intro to Bot Framework Shahed Chowdhuri Sr. Technical Evangelist @ Microsoft @shahedC WakeUpAndCode.com

  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. What Are Bots?

  4. MS Bot Framework https://dev.botframework.com

  5. Overview http://docs.botframework.com • Bot Framework: • Builder SDK • Connector • Dev Portal • Directory

  6. What’s New in V3 • BotBuilder + Connector = 1 SDK • Message => Activity • ActivityTypesenum • 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 https://docs.microsoft.com/en-us/bot-framework/resources-upgrade-to-v3

  7. Building a Bot

  8. Bot Builder SDK for .NET with C# https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-quickstart

  9. MessagesController

  10. RootDialog

  11. Visual Studio: File | New | Project

  12. Test Your Bot Emulator: https://aka.ms/bf-bc-emulator

  13. Bot Framework Emulator Direct Download: https://emulator.botframework.com/

  14. DB Connectivity with Entity Framework Application Code DB Entities in Code ORM https://blog.botframework.com/2017/07/26/saving-state-sql-dotnet/

  15. Saving State to SQL Azure https://blog.botframework.com/2017/07/26/saving-state-sql-dotnet/

  16. Deploy to Azure https://docs.microsoft.com/en-us/bot-framework/deploy-bot-visual-studio

  17. Register Your Bot https://docs.microsoft.com/en-us/bot-framework/portal-register-bot

  18. Bot Builder SDK for Node.js https://docs.microsoft.com/en-us/bot-framework/nodejs/bot-builder-nodejs-quickstart

  19. Build a Bot with Node.js

  20. Visual Studio Code Download: http://code.visualstudio.com/

  21. Test Your Bot Emulator: https://aka.ms/bf-bc-emulator

  22. Azure Bot Service https://docs.microsoft.com/en-us/bot-framework/azure/azure-bot-service-quickstart

  23. Connect & Config

  24. Connect to Channels • Channels: • Email • GroupMe • Skype • Slack • SMS • Telegram • Web • etc...

  25. Configure: Direct Line https://dev.botframework.com/channels/directline/YOUR-BOT-ID

  26. Configure: Web Chat https://dev.botframework.com/channels/webchat/YOUR-BOT-ID

  27. Configure: SMS (via Twilio) https://sms.botframework.com/Dev/?botId=YOUR-BOT-ID

  28. Configure: Facebook Messenger https://facebook.botframework.com/Dev/?botId=YOUR-BOT-ID

  29. FB Developer Settings https://developers.facebook.com

  30. BotBuilder on GitHub! https://github.com/Microsoft/botbuilder

  31. Language Understanding Intelligent Service https://www.luis.ai/ Help: https://www.luis.ai/Help

  32. LUIS: Intents, Entities & Labels

  33. Intents in LUIS Intent: Summarizes the intentions of an utterance

  34. Utterances in LUIS

  35. Entities in LUIS Entity: Data object that can be pre-built or custom-defined.

  36. Labels in LUIS Label: Marked segment of utterance to associate terms with corresponding entities.

  37. Using LUIS in your Code

  38. Bot Directory https://bots.botframework.com/

  39. Demo

  40. Game Chat Bot http://gamechatbot.azurewebsites.net/

  41. MVA: Bots with C# Link: https://aka.ms/mvabots-cs

  42. MVA: Bots with NodeJS Link: https://aka.ms/mvabots-js

  43. Daniel Egan’s Bot Workshop Link: https://github.com/DanielEgan/BotWorkshop

  44. Official Bot Book from Microsoft Press • Programming the Microsoft Bot Framework • Author: (MVP) Joe Mayo • Tech Editor: Shahed Chowdhuri • Publisher: Microsoft Press • Coming Soon: Nov 14, 2017 http://aka.ms/BotBook

  45. Q & A

  46. Email:shchowd@microsoft.com Twitter: @shahedC

More Related