Intro to Bot Framework v 4 Build and
Intro to Bot Framework v 4 Build and connect intelligent bots Shahed Chowdhuri Sr. Software Engineer @ Microsoft Azure Cloud Advisor, CSE @shahed. C Wake. Up. And. Code. com
Overview
MS Bot Framework https: //dev. botframework. com Bot Framework: • AI & NLP with Cognitive Services • Open & Extensible • Enterprise. Grade Solutions • Complete Control
Overview http: //docs. botframework. com Bot Framework: • v 4 SDK • . NET with C# • Java. Script • Qn. A Maker • Azure Bot Service
Bot Middleware Pipeline Link: https: //docs. microsoft. com/en-us/azure/bot-service/bot-builder-concept-middleware
Dialog Types for Bots Link: https: //docs. microsoft. com/en-us/azure/bot-service/bot-builder-concept-dialog
Dialog Type: Prompts Link: https: //docs. microsoft. com/en-us/azure/bot-service/bot-builder-concept-dialog
Dialog Type: Waterfall
Dialog Type: Component Reusable Dialog, e. g. Address Street 1 Street 2 City State/Province Postal Code Country
Building a Bot
Bot Builder SDK for. NET with C# Link: https: //docs. microsoft. com/en-us/azure/bot-service/dotnet/bot-builder-dotnet-sdk-quickstart
Visual Studio: File | New | Project
C# Bot: Program. cs
C# Bot: Startup. cs
C# Bot: Startup. Configure. Services()
C# Bot: Startup. Configure()
C# Bot: Class from IBot interface
C# Bot: IBot. On. Turn. Async()
C# Bot: State with Accessors
C# Bot: State object sample
Config & Deploy
C# Bot: Configuration in Startup
C# Bot: appsettings. json config file
Test Your Bot
Bot Framework Emulator: https: //github. com/Microsoft/Bot. Framework-Emulator
Deploy Your Bot Link: https: //docs. microsoft. com/en-us/azure/bot-service/bot-builder-deploy-az-cli
Publish with Visual Studio
Web App Bot in Azure Portal
Bot Service: Channels Link: https: //docs. microsoft. com/en-us/azure/bot-service-manage-channels
Java. Script & VS Code
Bot Builder SDK for Node. js Link: https: //docs. microsoft. com/en-us/azure/bot-service/javascript/bot-builder-javascript-quickstart
Build a Bot with Node. js Samples on Git. Hub
Visual Studio Code Download: http: //code. visualstudio. com/
AI with LUIS
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 prebuilt or customdefined.
List/Composite/Hierarchical Entities
Using LUIS in your Code https: //github. com/Azure-Samples/cognitive-services-language-understanding
Demo + Wrapup
Bot Framework Emulator: https: //github. com/Microsoft/Bot. Framework-Emulator
Bot Framework Resources Link: https: //wakeupandcode. com/bot-resources/
Bot Framework Samples Link: https: //github. com/Microsoft/Bot. Builder-Samples/tree/master/samples
You. Tube: Bot v 4 Videos Link: https: //aka. ms/botv 4 videos
Q&A
- Slides: 47