SlideShare a Scribd company logo
Chatbot development with
Microsoft Bot Framework and LUIS
Md. Mahedee Hasan
Microsoft MVP , Visual Studio and Development Technologies
Senior Software Architect, Leadsoft Bangladesh Limited
Trainer, Leads Training and Consulting Limited
Microsoft Community Contributor
Blog: http://mahedee.net
MVP | Sr. Software Architect | Trainer | Technical Blogger | MCTS
1
MAHEDEE.NET
2
What is Chatbot?
Bot is a automated software designed by human
programmers to do tasks
Chatbot is a automated software to talk customer using
messaging apps
MAHEDEE.NET
3
Why Chatbot?
One to one messaging with thousands of customer at a time
Application of chatbot
Order Pizza
HR issues
Customer
Support
Personal Finance
assistant
Schedule
Meeting
Product
Suggestions
Weather
Bank and
Insurance
MAHEDEE.NET
4
What is Microsoft Bot Framework
A platform for building, connecting, testing and
deploying powerful and intelligent bots
Open Source
Connect cross platform with the flip of a switch
MAHEDEE.NET
5
Installation Requirements
• Visual Studio 2015 / 2017
• Download Bot template: Visual Studio Bot Template - C#
• Save the zip file to Visual Studio 2015/2017 template directory
“%USERPROFILE%DocumentsVisual Studio
2017TemplatesProjectTemplatesVisual C#"
MAHEDEE.NET
6
Create Project
• Start Visual Studio 2015/2017
• From the file -> New->Project
• Select Visual C# template
• Select Bot Application
• Click OK
MAHEDEE.NET
7
Test by bot emulator
• Download bot emulator
• https://emulator.botframewo
rk.com/
• botframework-emulator-
Setup-3.5.32.exe
• Install bot emulator
• Test your project
• Type
http://localhost:3979/api/me
ssages
• Debug your project typing
the following URL
https://your_bots_hostname
/api/messages in the
emulator.
MAHEDEE.NET
8
Publish bot to Microsoft Azure
MAHEDEE.NET
9
Register Bot with Microsoft Bot Framework
• Go to https://dev.botframework.com/
• My bot -> Create bot (Select Register an existing bot
built using Bot Builder SDK.)
• Generate Microsoft App Id and Microsoft App
Password
MAHEDEE.NET
10
Publish application on Azure again
• Add Microsoft App Id and Microsoft App Password to
bot web.config
• Publish application to azure again
• Now test application using bot tester
MAHEDEE.NET
11
Connect bot with skype channel
• Click Skype channel -> Add to the contact
• Connect to the bot
• Start chatting
• Invite by: https://join.skype.com/bot/61e2a1fc-b72b-41bc-
9f6e-263bd29dc149
MAHEDEE.NET
12
Connect bot with Facebook channel
• Go to https://dev.botframework.com/
• Select My bot -> Select bot (you created)
• Add channel Facebook messenger
– Click Facebook messenger
• Add Facebook messenger credential in dev.botframework.com
from developers.facebook.com
MAHEDEE.NET
13
Add products
• Add Product -> Add webhooks in developers.facebook.com
• Click Setup
• Select page
• Click subscribe to this topic
• Select and subscribe page
• Add Call Back URL and Verify Token -> Click verify and save
• Add Product -> Messenger
• Edit events
MAHEDEE.NET
14
Complete chatbot with Facebook
• Add a Facebook user in role as tester in
developers.facebook.com
• Now from the user send message to the page and get auto
response
MAHEDEE.NET
15
Complete chatbot with Facebook
• Add a Facebook user in role as tester in
developers.facebook.com
• Now from the user send message to the page and get auto
response
MAHEDEE.NET
16
What is LUIS
• Language Understanding Intelligent Service
• It is one of Microsoft Cognitive Services
• It is build on NLP
• You can add conversational intelligence to your app
MAHEDEE.NET
17
Why LUIS?
• It is fast and easy
• It learns and adapts
• It offers pre-built domains
• It is a power developer tool
• It is MultiLingual
MAHEDEE.NET
18
Configure LUIS to your Bot
[LuisModel("6f13a4ce-dabe-485a-bb3f-9aba3156ea95", "5ea418ae538a402a9b99a936389fd0e7", domain:
"westus.api.cognitive.microsoft.com", staging: true)]
[Serializable]
public partial class RootLuisDialog : LuisDialog<object>
{
private string userData;
public RootLuisDialog(string userData)
{
this.userData = userData;
}
[LuisIntent("")]
[LuisIntent("None")]
public async Task None(IDialogContext context, LuisResult result)
{
string message = $"Sorry, I don’t have answer of this question. " +
$"I am an artificial intelligence system. " +
$"I am still learning. ";
message += StaticMessage.AboutDemo;
await context.PostAsync(message);
context.Wait(this.MessageReceived);
}
}
• My blog site: http://mahedee.net
• TechNet Profile:
https://social.technet.microsoft.com/profile/mahede
e/
• Github Profile: https://github.com/mahedee
• Slide Share http://www.slideshare.net/mahedee19
MAHEDEE.NET
19
Q&A
• Email: mahedee.hasan@gmail.com;
Mahedee_hasan@leads-bd.com
• Tag me in facebook group post
• https://www.facebook.com/groups/techinfo.bd
MAHEDEE.NET
20
Q&A
• Me in Facebook:
https://facebook.com/mahedee19
• Me in Linkedin:
https://www.linkedin.com/in/mahedee
MAHEDEE.NET
21
Q&A
22

More Related Content

What's hot

Intro to HoloLens Development
Intro to HoloLens DevelopmentIntro to HoloLens Development
Intro to HoloLens Development
Shahed Chowdhuri
 
Building a bot with an intent
Building a bot with an intentBuilding a bot with an intent
Building a bot with an intent
Abhishek Sur
 
Xbox One Dev Mode
Xbox One Dev ModeXbox One Dev Mode
Xbox One Dev Mode
Shahed Chowdhuri
 
Improve customer engagement and productivity with conversational ai
Improve customer engagement and productivity with conversational aiImprove customer engagement and productivity with conversational ai
Improve customer engagement and productivity with conversational ai
CodeOps Technologies LLP
 
Intro to Xamarin: Cross-Platform Mobile Application Development
Intro to Xamarin: Cross-Platform Mobile Application DevelopmentIntro to Xamarin: Cross-Platform Mobile Application Development
Intro to Xamarin: Cross-Platform Mobile Application Development
Shahed Chowdhuri
 
Activate bots within SharePoint Framework
Activate bots within SharePoint FrameworkActivate bots within SharePoint Framework
Activate bots within SharePoint Framework
Kushan Lahiru Perera
 
20160930 bot framework workshop
20160930 bot framework workshop20160930 bot framework workshop
20160930 bot framework workshop
Meng-Ru (Raymond) Tsai
 
Virtual Hub - Host SharePoint Framework web part as MS Teams messaging extension
Virtual Hub - Host SharePoint Framework web part as MS Teams messaging extensionVirtual Hub - Host SharePoint Framework web part as MS Teams messaging extension
Virtual Hub - Host SharePoint Framework web part as MS Teams messaging extension
Nanddeep Nachan
 
Introduction to document db- Global Azure Bootcamp 2016
Introduction to document db- Global Azure Bootcamp 2016Introduction to document db- Global Azure Bootcamp 2016
Introduction to document db- Global Azure Bootcamp 2016
Jalpesh Vadgama
 
Creating a Great User Experience in SharePoint
Creating a Great User Experience in SharePointCreating a Great User Experience in SharePoint
Creating a Great User Experience in SharePoint
SPC Adriatics
 
Intro to Xamarin
Intro to XamarinIntro to Xamarin
Intro to Xamarin
Shahed Chowdhuri
 
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s PerspectiveESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
Thomas Gölles
 
Web Development on Web Project Presentation
Web Development on Web Project PresentationWeb Development on Web Project Presentation
Web Development on Web Project Presentation
Milind Gokhale
 
Game On with Windows & Xbox One @ .NET Conf UY
Game On with Windows & Xbox One @ .NET Conf UYGame On with Windows & Xbox One @ .NET Conf UY
Game On with Windows & Xbox One @ .NET Conf UY
Shahed Chowdhuri
 
Creating MVC Application with backbone js
Creating MVC Application with backbone jsCreating MVC Application with backbone js
Creating MVC Application with backbone js
Mindfire Solutions
 
Mobile devices and SharePoint
Mobile devices and SharePointMobile devices and SharePoint
Mobile devices and SharePoint
maliksahil
 
AngularJS and SharePoint
AngularJS and SharePointAngularJS and SharePoint
AngularJS and SharePoint
danielsmon
 
Sys02 best way to create a share point app
Sys02   best way to create a share point appSys02   best way to create a share point app
Sys02 best way to create a share point appDotNetCampus
 
Cloud-Backed Mixed Reality: HoloLens & Azure Cognitive Services
Cloud-Backed Mixed Reality: HoloLens & Azure Cognitive ServicesCloud-Backed Mixed Reality: HoloLens & Azure Cognitive Services
Cloud-Backed Mixed Reality: HoloLens & Azure Cognitive Services
Shahed Chowdhuri
 

What's hot (20)

Intro to HoloLens Development
Intro to HoloLens DevelopmentIntro to HoloLens Development
Intro to HoloLens Development
 
Building a bot with an intent
Building a bot with an intentBuilding a bot with an intent
Building a bot with an intent
 
Xbox One Dev Mode
Xbox One Dev ModeXbox One Dev Mode
Xbox One Dev Mode
 
Improve customer engagement and productivity with conversational ai
Improve customer engagement and productivity with conversational aiImprove customer engagement and productivity with conversational ai
Improve customer engagement and productivity with conversational ai
 
Intro to Xamarin: Cross-Platform Mobile Application Development
Intro to Xamarin: Cross-Platform Mobile Application DevelopmentIntro to Xamarin: Cross-Platform Mobile Application Development
Intro to Xamarin: Cross-Platform Mobile Application Development
 
Activate bots within SharePoint Framework
Activate bots within SharePoint FrameworkActivate bots within SharePoint Framework
Activate bots within SharePoint Framework
 
20160930 bot framework workshop
20160930 bot framework workshop20160930 bot framework workshop
20160930 bot framework workshop
 
Virtual Hub - Host SharePoint Framework web part as MS Teams messaging extension
Virtual Hub - Host SharePoint Framework web part as MS Teams messaging extensionVirtual Hub - Host SharePoint Framework web part as MS Teams messaging extension
Virtual Hub - Host SharePoint Framework web part as MS Teams messaging extension
 
Introduction to document db- Global Azure Bootcamp 2016
Introduction to document db- Global Azure Bootcamp 2016Introduction to document db- Global Azure Bootcamp 2016
Introduction to document db- Global Azure Bootcamp 2016
 
Creating a Great User Experience in SharePoint
Creating a Great User Experience in SharePointCreating a Great User Experience in SharePoint
Creating a Great User Experience in SharePoint
 
Intro to Xamarin
Intro to XamarinIntro to Xamarin
Intro to Xamarin
 
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s PerspectiveESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
 
Web Development on Web Project Presentation
Web Development on Web Project PresentationWeb Development on Web Project Presentation
Web Development on Web Project Presentation
 
Game On with Windows & Xbox One @ .NET Conf UY
Game On with Windows & Xbox One @ .NET Conf UYGame On with Windows & Xbox One @ .NET Conf UY
Game On with Windows & Xbox One @ .NET Conf UY
 
Creating MVC Application with backbone js
Creating MVC Application with backbone jsCreating MVC Application with backbone js
Creating MVC Application with backbone js
 
Mobile devices and SharePoint
Mobile devices and SharePointMobile devices and SharePoint
Mobile devices and SharePoint
 
AngularJS and SharePoint
AngularJS and SharePointAngularJS and SharePoint
AngularJS and SharePoint
 
Sys02 best way to create a share point app
Sys02   best way to create a share point appSys02   best way to create a share point app
Sys02 best way to create a share point app
 
Community Tour Bologna
Community Tour BolognaCommunity Tour Bologna
Community Tour Bologna
 
Cloud-Backed Mixed Reality: HoloLens & Azure Cognitive Services
Cloud-Backed Mixed Reality: HoloLens & Azure Cognitive ServicesCloud-Backed Mixed Reality: HoloLens & Azure Cognitive Services
Cloud-Backed Mixed Reality: HoloLens & Azure Cognitive Services
 

Similar to Chatbot development with Microsoft Bot Framework and LUIS

Intro to Bot Framework v3 with DB
Intro to Bot Framework v3 with DBIntro to Bot Framework v3 with DB
Intro to Bot Framework v3 with DB
Shahed Chowdhuri
 
Serverless chatbot: from idea to production at blazing speed
Serverless chatbot: from idea to production at blazing speedServerless chatbot: from idea to production at blazing speed
Serverless chatbot: from idea to production at blazing speed
Paolo Montrasio
 
Exploring Microsoft Teams extensibility
Exploring Microsoft Teams extensibilityExploring Microsoft Teams extensibility
Exploring Microsoft Teams extensibility
Wes Hackett
 
Serverless chatbot: from idea to production at blazing speed
Serverless chatbot: from idea to production at blazing speedServerless chatbot: from idea to production at blazing speed
Serverless chatbot: from idea to production at blazing speed
Luca Bianchi
 
Building Bots with Teams Toolkit
Building Bots with Teams ToolkitBuilding Bots with Teams Toolkit
Building Bots with Teams Toolkit
Nanddeep Nachan
 
Building intelligent chat bot with microsoft bot framework
Building intelligent chat bot with microsoft bot frameworkBuilding intelligent chat bot with microsoft bot framework
Building intelligent chat bot with microsoft bot framework
Rukshan Dangalla
 
Furniture Online Ordering using Chatbot
Furniture Online Ordering using ChatbotFurniture Online Ordering using Chatbot
Furniture Online Ordering using Chatbot
intan2411
 
Developing intelligent bots from the beginning
Developing intelligent bots from the beginningDeveloping intelligent bots from the beginning
Developing intelligent bots from the beginning
Suthahar J
 
Microsoft teams & bot framework - A developer's perspective
Microsoft teams & bot framework - A developer's perspectiveMicrosoft teams & bot framework - A developer's perspective
Microsoft teams & bot framework - A developer's perspective
Thomas Gölles
 
Online Project Portal
Online Project PortalOnline Project Portal
Online Project Portal
Vivek Gautam
 
Building with Watson - Advanced Integrations with Watson Conversation
Building with Watson - Advanced Integrations with Watson ConversationBuilding with Watson - Advanced Integrations with Watson Conversation
Building with Watson - Advanced Integrations with Watson Conversation
IBM Watson
 
Bot Framework with Xamarin Forms
Bot Framework with Xamarin FormsBot Framework with Xamarin Forms
Bot Framework with Xamarin Forms
Cheah Eng Soon
 
2022.11, UiPath Release 2022.10 Features and Highlights.pdf
2022.11, UiPath Release 2022.10 Features and Highlights.pdf2022.11, UiPath Release 2022.10 Features and Highlights.pdf
2022.11, UiPath Release 2022.10 Features and Highlights.pdf
Tracy Dixon
 
IIBA® Sydney Unlocking the Power of Low Code No Code: Why BAs Hold the Key
IIBA® Sydney Unlocking the Power of Low Code No Code: Why BAs Hold the KeyIIBA® Sydney Unlocking the Power of Low Code No Code: Why BAs Hold the Key
IIBA® Sydney Unlocking the Power of Low Code No Code: Why BAs Hold the Key
AustraliaChapterIIBA
 
Leveraging Rails to Build Facebook Apps
Leveraging Rails to Build Facebook AppsLeveraging Rails to Build Facebook Apps
Leveraging Rails to Build Facebook Apps
David Keener
 
Build social apps for Facebook
Build social apps for FacebookBuild social apps for Facebook
Build social apps for Facebook
Mohammad Emran Hasan
 
Office 365 Developer Bootcamp: Microsoft Teams
Office 365 Developer Bootcamp: Microsoft TeamsOffice 365 Developer Bootcamp: Microsoft Teams
Office 365 Developer Bootcamp: Microsoft Teams
David Schneider
 

Similar to Chatbot development with Microsoft Bot Framework and LUIS (20)

Intro to Bot Framework v3 with DB
Intro to Bot Framework v3 with DBIntro to Bot Framework v3 with DB
Intro to Bot Framework v3 with DB
 
Serverless chatbot: from idea to production at blazing speed
Serverless chatbot: from idea to production at blazing speedServerless chatbot: from idea to production at blazing speed
Serverless chatbot: from idea to production at blazing speed
 
Exploring Microsoft Teams extensibility
Exploring Microsoft Teams extensibilityExploring Microsoft Teams extensibility
Exploring Microsoft Teams extensibility
 
Serverless chatbot: from idea to production at blazing speed
Serverless chatbot: from idea to production at blazing speedServerless chatbot: from idea to production at blazing speed
Serverless chatbot: from idea to production at blazing speed
 
Building Bots with Teams Toolkit
Building Bots with Teams ToolkitBuilding Bots with Teams Toolkit
Building Bots with Teams Toolkit
 
Building intelligent chat bot with microsoft bot framework
Building intelligent chat bot with microsoft bot frameworkBuilding intelligent chat bot with microsoft bot framework
Building intelligent chat bot with microsoft bot framework
 
Furniture Online Ordering using Chatbot
Furniture Online Ordering using ChatbotFurniture Online Ordering using Chatbot
Furniture Online Ordering using Chatbot
 
Developing intelligent bots from the beginning
Developing intelligent bots from the beginningDeveloping intelligent bots from the beginning
Developing intelligent bots from the beginning
 
Microsoft teams & bot framework - A developer's perspective
Microsoft teams & bot framework - A developer's perspectiveMicrosoft teams & bot framework - A developer's perspective
Microsoft teams & bot framework - A developer's perspective
 
Online Project Portal
Online Project PortalOnline Project Portal
Online Project Portal
 
Building with Watson - Advanced Integrations with Watson Conversation
Building with Watson - Advanced Integrations with Watson ConversationBuilding with Watson - Advanced Integrations with Watson Conversation
Building with Watson - Advanced Integrations with Watson Conversation
 
DEEPAK RAWAT
DEEPAK RAWATDEEPAK RAWAT
DEEPAK RAWAT
 
Bot Framework with Xamarin Forms
Bot Framework with Xamarin FormsBot Framework with Xamarin Forms
Bot Framework with Xamarin Forms
 
2022.11, UiPath Release 2022.10 Features and Highlights.pdf
2022.11, UiPath Release 2022.10 Features and Highlights.pdf2022.11, UiPath Release 2022.10 Features and Highlights.pdf
2022.11, UiPath Release 2022.10 Features and Highlights.pdf
 
LINE Messaging API Workshop
LINE Messaging API WorkshopLINE Messaging API Workshop
LINE Messaging API Workshop
 
IIBA® Sydney Unlocking the Power of Low Code No Code: Why BAs Hold the Key
IIBA® Sydney Unlocking the Power of Low Code No Code: Why BAs Hold the KeyIIBA® Sydney Unlocking the Power of Low Code No Code: Why BAs Hold the Key
IIBA® Sydney Unlocking the Power of Low Code No Code: Why BAs Hold the Key
 
Leveraging Rails to Build Facebook Apps
Leveraging Rails to Build Facebook AppsLeveraging Rails to Build Facebook Apps
Leveraging Rails to Build Facebook Apps
 
Build social apps for Facebook
Build social apps for FacebookBuild social apps for Facebook
Build social apps for Facebook
 
Office 365 Developer Bootcamp: Microsoft Teams
Office 365 Developer Bootcamp: Microsoft TeamsOffice 365 Developer Bootcamp: Microsoft Teams
Office 365 Developer Bootcamp: Microsoft Teams
 
Accemy Chatbots expertise
Accemy Chatbots expertiseAccemy Chatbots expertise
Accemy Chatbots expertise
 

More from Md. Mahedee Hasan

Azure Machine Learning
Azure Machine LearningAzure Machine Learning
Azure Machine Learning
Md. Mahedee Hasan
 
ASP.NET MVC Zero to Hero
ASP.NET MVC Zero to HeroASP.NET MVC Zero to Hero
ASP.NET MVC Zero to Hero
Md. Mahedee Hasan
 
Introduction to Windows 10 IoT Core
Introduction to Windows 10 IoT CoreIntroduction to Windows 10 IoT Core
Introduction to Windows 10 IoT Core
Md. Mahedee Hasan
 
Whats new in visual studio 2017
Whats new in visual studio 2017Whats new in visual studio 2017
Whats new in visual studio 2017
Md. Mahedee Hasan
 
Increasing productivity using visual studio 2017
Increasing productivity using visual studio 2017Increasing productivity using visual studio 2017
Increasing productivity using visual studio 2017
Md. Mahedee Hasan
 
Exciting features in visual studio 2017
Exciting features in visual studio 2017Exciting features in visual studio 2017
Exciting features in visual studio 2017
Md. Mahedee Hasan
 
Introduction to TFS 2013
Introduction to TFS 2013Introduction to TFS 2013
Introduction to TFS 2013
Md. Mahedee Hasan
 
The world of enterprise solution development with asp.net and C#
The world of enterprise solution development with asp.net and C#The world of enterprise solution development with asp.net and C#
The world of enterprise solution development with asp.net and C#
Md. Mahedee Hasan
 
Generic repository pattern with ASP.NET MVC and Entity Framework
Generic repository pattern with ASP.NET MVC and Entity FrameworkGeneric repository pattern with ASP.NET MVC and Entity Framework
Generic repository pattern with ASP.NET MVC and Entity Framework
Md. Mahedee Hasan
 
Introduction to OMNeT++
Introduction to OMNeT++Introduction to OMNeT++
Introduction to OMNeT++
Md. Mahedee Hasan
 
Feature and Future of ASP.NET
Feature and Future of ASP.NETFeature and Future of ASP.NET
Feature and Future of ASP.NET
Md. Mahedee Hasan
 
Generic Repository Pattern with ASP.NET MVC and EF
Generic Repository Pattern with ASP.NET MVC and EFGeneric Repository Pattern with ASP.NET MVC and EF
Generic Repository Pattern with ASP.NET MVC and EF
Md. Mahedee Hasan
 
C#.net applied OOP - Batch 3
C#.net applied OOP - Batch 3C#.net applied OOP - Batch 3
C#.net applied OOP - Batch 3Md. Mahedee Hasan
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
Md. Mahedee Hasan
 
MS SQL Server
MS SQL ServerMS SQL Server
MS SQL Server
Md. Mahedee Hasan
 
C# - Part 1
C# - Part 1C# - Part 1
C# - Part 1
Md. Mahedee Hasan
 

More from Md. Mahedee Hasan (18)

Azure Machine Learning
Azure Machine LearningAzure Machine Learning
Azure Machine Learning
 
ASP.NET MVC Zero to Hero
ASP.NET MVC Zero to HeroASP.NET MVC Zero to Hero
ASP.NET MVC Zero to Hero
 
Introduction to Windows 10 IoT Core
Introduction to Windows 10 IoT CoreIntroduction to Windows 10 IoT Core
Introduction to Windows 10 IoT Core
 
Whats new in visual studio 2017
Whats new in visual studio 2017Whats new in visual studio 2017
Whats new in visual studio 2017
 
Increasing productivity using visual studio 2017
Increasing productivity using visual studio 2017Increasing productivity using visual studio 2017
Increasing productivity using visual studio 2017
 
Exciting features in visual studio 2017
Exciting features in visual studio 2017Exciting features in visual studio 2017
Exciting features in visual studio 2017
 
Introduction to TFS 2013
Introduction to TFS 2013Introduction to TFS 2013
Introduction to TFS 2013
 
The world of enterprise solution development with asp.net and C#
The world of enterprise solution development with asp.net and C#The world of enterprise solution development with asp.net and C#
The world of enterprise solution development with asp.net and C#
 
Generic repository pattern with ASP.NET MVC and Entity Framework
Generic repository pattern with ASP.NET MVC and Entity FrameworkGeneric repository pattern with ASP.NET MVC and Entity Framework
Generic repository pattern with ASP.NET MVC and Entity Framework
 
Introduction to OMNeT++
Introduction to OMNeT++Introduction to OMNeT++
Introduction to OMNeT++
 
Feature and Future of ASP.NET
Feature and Future of ASP.NETFeature and Future of ASP.NET
Feature and Future of ASP.NET
 
Generic Repository Pattern with ASP.NET MVC and EF
Generic Repository Pattern with ASP.NET MVC and EFGeneric Repository Pattern with ASP.NET MVC and EF
Generic Repository Pattern with ASP.NET MVC and EF
 
C#.net applied OOP - Batch 3
C#.net applied OOP - Batch 3C#.net applied OOP - Batch 3
C#.net applied OOP - Batch 3
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
Oop principles
Oop principlesOop principles
Oop principles
 
MS SQL Server
MS SQL ServerMS SQL Server
MS SQL Server
 
C# - Part 1
C# - Part 1C# - Part 1
C# - Part 1
 
ASP.NET Web form
ASP.NET Web formASP.NET Web form
ASP.NET Web form
 

Recently uploaded

Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
Nidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, TipsNidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, Tips
vrstrong314
 

Recently uploaded (20)

Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
Nidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, TipsNidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, Tips
 

Chatbot development with Microsoft Bot Framework and LUIS

  • 1. Chatbot development with Microsoft Bot Framework and LUIS Md. Mahedee Hasan Microsoft MVP , Visual Studio and Development Technologies Senior Software Architect, Leadsoft Bangladesh Limited Trainer, Leads Training and Consulting Limited Microsoft Community Contributor Blog: http://mahedee.net MVP | Sr. Software Architect | Trainer | Technical Blogger | MCTS 1
  • 2. MAHEDEE.NET 2 What is Chatbot? Bot is a automated software designed by human programmers to do tasks Chatbot is a automated software to talk customer using messaging apps
  • 3. MAHEDEE.NET 3 Why Chatbot? One to one messaging with thousands of customer at a time Application of chatbot Order Pizza HR issues Customer Support Personal Finance assistant Schedule Meeting Product Suggestions Weather Bank and Insurance
  • 4. MAHEDEE.NET 4 What is Microsoft Bot Framework A platform for building, connecting, testing and deploying powerful and intelligent bots Open Source Connect cross platform with the flip of a switch
  • 5. MAHEDEE.NET 5 Installation Requirements • Visual Studio 2015 / 2017 • Download Bot template: Visual Studio Bot Template - C# • Save the zip file to Visual Studio 2015/2017 template directory “%USERPROFILE%DocumentsVisual Studio 2017TemplatesProjectTemplatesVisual C#"
  • 6. MAHEDEE.NET 6 Create Project • Start Visual Studio 2015/2017 • From the file -> New->Project • Select Visual C# template • Select Bot Application • Click OK
  • 7. MAHEDEE.NET 7 Test by bot emulator • Download bot emulator • https://emulator.botframewo rk.com/ • botframework-emulator- Setup-3.5.32.exe • Install bot emulator • Test your project • Type http://localhost:3979/api/me ssages • Debug your project typing the following URL https://your_bots_hostname /api/messages in the emulator.
  • 9. MAHEDEE.NET 9 Register Bot with Microsoft Bot Framework • Go to https://dev.botframework.com/ • My bot -> Create bot (Select Register an existing bot built using Bot Builder SDK.) • Generate Microsoft App Id and Microsoft App Password
  • 10. MAHEDEE.NET 10 Publish application on Azure again • Add Microsoft App Id and Microsoft App Password to bot web.config • Publish application to azure again • Now test application using bot tester
  • 11. MAHEDEE.NET 11 Connect bot with skype channel • Click Skype channel -> Add to the contact • Connect to the bot • Start chatting • Invite by: https://join.skype.com/bot/61e2a1fc-b72b-41bc- 9f6e-263bd29dc149
  • 12. MAHEDEE.NET 12 Connect bot with Facebook channel • Go to https://dev.botframework.com/ • Select My bot -> Select bot (you created) • Add channel Facebook messenger – Click Facebook messenger • Add Facebook messenger credential in dev.botframework.com from developers.facebook.com
  • 13. MAHEDEE.NET 13 Add products • Add Product -> Add webhooks in developers.facebook.com • Click Setup • Select page • Click subscribe to this topic • Select and subscribe page • Add Call Back URL and Verify Token -> Click verify and save • Add Product -> Messenger • Edit events
  • 14. MAHEDEE.NET 14 Complete chatbot with Facebook • Add a Facebook user in role as tester in developers.facebook.com • Now from the user send message to the page and get auto response
  • 15. MAHEDEE.NET 15 Complete chatbot with Facebook • Add a Facebook user in role as tester in developers.facebook.com • Now from the user send message to the page and get auto response
  • 16. MAHEDEE.NET 16 What is LUIS • Language Understanding Intelligent Service • It is one of Microsoft Cognitive Services • It is build on NLP • You can add conversational intelligence to your app
  • 17. MAHEDEE.NET 17 Why LUIS? • It is fast and easy • It learns and adapts • It offers pre-built domains • It is a power developer tool • It is MultiLingual
  • 18. MAHEDEE.NET 18 Configure LUIS to your Bot [LuisModel("6f13a4ce-dabe-485a-bb3f-9aba3156ea95", "5ea418ae538a402a9b99a936389fd0e7", domain: "westus.api.cognitive.microsoft.com", staging: true)] [Serializable] public partial class RootLuisDialog : LuisDialog<object> { private string userData; public RootLuisDialog(string userData) { this.userData = userData; } [LuisIntent("")] [LuisIntent("None")] public async Task None(IDialogContext context, LuisResult result) { string message = $"Sorry, I don’t have answer of this question. " + $"I am an artificial intelligence system. " + $"I am still learning. "; message += StaticMessage.AboutDemo; await context.PostAsync(message); context.Wait(this.MessageReceived); } }
  • 19. • My blog site: http://mahedee.net • TechNet Profile: https://social.technet.microsoft.com/profile/mahede e/ • Github Profile: https://github.com/mahedee • Slide Share http://www.slideshare.net/mahedee19 MAHEDEE.NET 19 Q&A
  • 20. • Email: mahedee.hasan@gmail.com; Mahedee_hasan@leads-bd.com • Tag me in facebook group post • https://www.facebook.com/groups/techinfo.bd MAHEDEE.NET 20 Q&A
  • 21. • Me in Facebook: https://facebook.com/mahedee19 • Me in Linkedin: https://www.linkedin.com/in/mahedee MAHEDEE.NET 21 Q&A
  • 22. 22