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

Intro to Bot Framework v3

Mar 03, 2017

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Intro to Bot Framework v3

Intro to Bot FrameworkShahed ChowdhuriSr. Technical Evangelist @ [email protected]

Build and connect intelligent bots

Page 2: Intro to Bot Framework v3

SpeakerShahed ChowdhuriSr. Technical Evangelist @ MicrosoftTechnology 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

Page 3: Intro to Bot Framework v3

What Are Bots?

Page 4: Intro to Bot Framework v3

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

Page 5: Intro to Bot Framework v3

Overview http://docs.botframework.com

Bot Framework:• Builder SDK• Connector• Dev Portal• Directory

Page 6: Intro to Bot Framework v3

Building a Bot

Page 7: Intro to Bot Framework v3

Bot Builder SDK for .NET with C#

Link: https://docs.botframework.com/en-us/csharp/builder/sdkreference/index.html

Page 8: Intro to Bot Framework v3

Build a Bot with C#

Page 9: Intro to Bot Framework v3

Visual Studio: File | New | Project

Page 10: Intro to Bot Framework v3

Test Your Bot

Emulator: https://aka.ms/bf-bc-emulator

Page 11: Intro to Bot Framework v3

Bot Framework Emulator

Page 12: Intro to Bot Framework v3

Publish Your Bot

Link: https://docs.botframework.com/en-us/csharp/builder/sdkreference/gettingstarted.html#publishing

Page 13: Intro to Bot Framework v3

Register Your Bot

Link: https://docs.botframework.com/en-us/csharp/builder/sdkreference/gettingstarted.html#registering

Page 14: Intro to Bot Framework v3

Bot Builder SDK for Node.js

Link: https://docs.botframework.com/en-us/csharp/builder/sdkreference/index.html

Page 15: Intro to Bot Framework v3

Build a Bot with Node.js

Page 16: Intro to Bot Framework v3

Visual Studio Code

Download: http://code.visualstudio.com/

Page 17: Intro to Bot Framework v3

Test Your Bot

Emulator: https://aka.ms/bf-bc-emulator

Page 18: Intro to Bot Framework v3

Connect & Config

Page 19: Intro to Bot Framework v3

Bot ConnectorChannels:• Email• GroupMe• Skype• Slack• SMS• Telegram• Web• etc...

Page 20: Intro to Bot Framework v3

Configure: Direct Line

https://dev.botframework.com/channels/directline/YOUR-BOT-ID

Page 21: Intro to Bot Framework v3

Configure: Web Chat

https://dev.botframework.com/channels/webchat/YOUR-BOT-ID

Page 22: Intro to Bot Framework v3

Configure: SMS (via Twilio)

https://sms.botframework.com/Dev/?botId=YOUR-BOT-ID

Page 23: Intro to Bot Framework v3

Configure: Facebook Messenger

https://facebook.botframework.com/Dev/?botId=YOUR-BOT-ID

Page 24: Intro to Bot Framework v3

FB Developer Settings

https://developers.facebook.com

Page 25: Intro to Bot Framework v3

Bot Builder SDK for C#Features:• Dialogs• AI with LUIS• Scalability• FormFlow• Open-Source

http://docs.botframework.com/sdkreference/csharp

Page 26: Intro to Bot Framework v3

GitHub!

https://github.com/Microsoft/botbuilder

Page 27: Intro to Bot Framework v3

Language Understanding Intelligent Service

https://www.luis.ai/ Help: https://www.luis.ai/Help

Page 28: Intro to Bot Framework v3

LUIS: Intents, Entities & Labels

Page 29: Intro to Bot Framework v3

Intents in LUISIntent: Summarizes the intentions of an utterance

Page 30: Intro to Bot Framework v3

Utterances in LUIS

Page 31: Intro to Bot Framework v3

Entities in LUISEntity: Data object that can be pre-built or custom-defined.

Page 32: Intro to Bot Framework v3

Labels in LUISLabel: Marked segment of utterance to associate terms with corresponding entities.

Page 33: Intro to Bot Framework v3

Using LUIS in your Code

Page 34: Intro to Bot Framework v3

Bot Directory

https://bots.botframework.com/

Page 35: Intro to Bot Framework v3

Demo

Page 36: Intro to Bot Framework v3

Game Chat Bot

http://gamechatbot.azurewebsites.net/

Page 37: Intro to Bot Framework v3

Microsoft Virtual Academy

Link: https://aka.ms/mvabots https://mva.microsoft.com/en-US/training-courses/getting-started-with-bots-16759

Page 38: Intro to Bot Framework v3

Q & A