SlideShare a Scribd company logo
Introducing the
Azure Bot Service
Lab code: https://github.com/vflorusso/botrevolution
Chat Bots are services that people interact with
through conversation and messaging.
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
The Bot Framework Emulator is a desktop application that allows bot
developers to test and debug their bots on localhost or running remotely
through a tunnel.
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
When you finish writing your bot, you need to
• Register the bot to generate the bot’s app ID and password
• connect the bot to channels of your choice
• and (optionally) publish it.
Bot Revolution lab at Codemotion Milan 2016
If you're running your bot behind a firewall or other network boundary and
want to connect to an external channel, you will need to install and configure
tunneling software (i.e. ngrok).
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
Many messaging channels provide the ability to attach richer objects, such as
media and reach cards.
In the Bot Connector we map our attachment data structure to media
attachments and rich cards on each channel.
There are are several types of cards supported:
Bot Revolution lab at Codemotion Milan 2016
Create your
own LU model
Train by providing
examples
Deploy to an HTTP
endpoint and
activate on any
device
Maintain model
with ease
Go to luis.ai:
Sign in with your Microsoft account
(MSA). If you don’t have MSA, you will
have an option to create one.
Get started by creating a New App and
entering some basic information.
Next, you will be presented with the
Application Editor Workspace that will
allow you to create and train your own
language understanding model.
Intents:
Intents are actions that a user wants your
app to take or the information they
would like to obtain.
Example intents could include getting
weather, booking tickets, adding a
calendar entry or operating a light
fixture.
Add one or more of user intents that you
expect your app to handle by clicking +
next to Intents item in the in the left-
hand panel of the Editor Workspace.
X
Entities:
Entities are real world objects such as
persons, locations, organizations, products,
etc. that can be denoted with a proper name.
Entities can be abstract or have a physical
existence.
Entities can be generic (location, celebrity,
datetime) or more specific (Seattle, Satya
Nadella, June)
Add one or more entities that you expect
your app to recognize by clicking + next to
Entities item in the left-hand panel of the
Editor Workspace.
Several commonly used pre-built entities (e.g.
datetime, number) are also available to be
added to the app by clicking + next to Pre-
built Entities.
X
Seed the system with
more examples:
Enter more examples of queries that you
expect your users to make.
As you enter each one, you will need to:
• select the name of the correct intent from
the dropdown
• label your entities that appear in each
utterance by clicking on the entity and
choosing corresponding label from the list
• pre-built entities get automatically labeled
in grey
The more examples you provide, the more
accurate the predictions.
X
As you click Train at
left bottom corner of
the page, LUIS:
Generalizes from the examples you
provided.
Uses logistic regression classifiers to
recognize intents.
Uses conditional random field to
determine the entities.
Last train completed: 9/10/2016, 3:33:38 PM
Deploy the model to
an HTTP endpoint:
Click the Publish button in the upper left-
hand corner.
The URL that you see appear after a few
moments makes your model available as a
web service.
Deploy the model to
an HTTP endpoint:
Click the Publish button in the upper left-
hand corner.
The URL that you see appear after a few
moments makes your model available as a
web service.
X
What’s the weather in
Berlin
The weather is sunny
with a temperature of
88°F. (data provided by Foreca
http://www.foreca.com)
Activate model from
your application on
any device:
Update the URL with the parameter
for the user query.
The response received from LUIS will
contain the list of detected intents
and entities together with the
confidence scores.
You can now use this information in
your app. For our example, we could
next call the weather service and
display the response in our app UI:
Bot Revolution lab at Codemotion Milan 2016
A new Bot Service is available on Azure!
http://aka.ms/botresources
https://www.luis.ai/
https://azure.microsoft.com/services/bot-service/
https://channel9.msdn.com/Events/
Bot Revolution lab at Codemotion Milan 2016

More Related Content

PPTX
Building a chat app with windows azure mobile services
PPTX
Empower your business with automate processes + tasks using microsoft flows
PPTX
Implement Authorization in your Apps with Microsoft identity platform-June 2020
PPTX
Logic apps and PowerApps - Integrate across your APIs
PDF
O365Con18 - Create an Immersive Experience with Office365 Data and Mixed Real...
PPTX
Azure for SharePoint Developers - Workshop - Part 3: Web Services
PPT
Mobile + cloud = heaven
PPTX
Azure for SharePoint Developers - Workshop - Part 5: Logic Apps
Building a chat app with windows azure mobile services
Empower your business with automate processes + tasks using microsoft flows
Implement Authorization in your Apps with Microsoft identity platform-June 2020
Logic apps and PowerApps - Integrate across your APIs
O365Con18 - Create an Immersive Experience with Office365 Data and Mixed Real...
Azure for SharePoint Developers - Workshop - Part 3: Web Services
Mobile + cloud = heaven
Azure for SharePoint Developers - Workshop - Part 5: Logic Apps

What's hot (20)

PPTX
Azure for SharePoint Developers - Workshop - Part 1: Azure AD
PPTX
Chris O'Brien - Best bits of Azure for Office 365/SharePoint developers
PDF
O365Con18 - Introduction to Azure Web Applications - Eric Shupps
PPTX
Building Push Triggers for Logic Apps
PPTX
Connector API Apps
PPTX
SPS Belgium 2015 - High-trust Apps for On-Premises Development
PPTX
Azure for SharePoint Developers - Workshop - Part 4: Bots
PPTX
Securing SharePoint Apps with OAuth
PPTX
APIs 101: What are they? What do they have to do with genealogy?
PPTX
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
PPTX
Developing a Provider Hosted SharePoint app
PPTX
Build intelligent solutions using Azure
PPTX
Getting Started with Firebase Cloud Functions
PPTX
Inside Logic Apps
PPTX
Build a Great Conversationalist
PPTX
First Look at Azure Logic Apps (BAUG)
PPTX
What's new for Developers in Visual Studio 2013
PPTX
Developer’s Independence Day: Introducing the SharePoint App Model
PPTX
Automatic documentation with mule
 
PPTX
Microsoft Graph developer community call-March 2020
Azure for SharePoint Developers - Workshop - Part 1: Azure AD
Chris O'Brien - Best bits of Azure for Office 365/SharePoint developers
O365Con18 - Introduction to Azure Web Applications - Eric Shupps
Building Push Triggers for Logic Apps
Connector API Apps
SPS Belgium 2015 - High-trust Apps for On-Premises Development
Azure for SharePoint Developers - Workshop - Part 4: Bots
Securing SharePoint Apps with OAuth
APIs 101: What are they? What do they have to do with genealogy?
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
Developing a Provider Hosted SharePoint app
Build intelligent solutions using Azure
Getting Started with Firebase Cloud Functions
Inside Logic Apps
Build a Great Conversationalist
First Look at Azure Logic Apps (BAUG)
What's new for Developers in Visual Studio 2013
Developer’s Independence Day: Introducing the SharePoint App Model
Automatic documentation with mule
 
Microsoft Graph developer community call-March 2020
Ad

Viewers also liked (10)

PDF
DevOps in the Cloud with Microsoft Azure
PPTX
Tokyo azure meetup #10 azure update, october
PPTX
Intro to cloud computing
PPTX
Microsoft bot framework in azure
PPTX
Tokyo azure meetup #13 build bots with azure bot services
PDF
Bots are the New Apps: Building with the Bot Framework & Language Understanding
PPTX
Bots in the Enterprise
PDF
Chatbot Artificial Intelligence
PDF
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational Interfaces
 
PPTX
Getting Started with Microsoft Bot Framework
DevOps in the Cloud with Microsoft Azure
Tokyo azure meetup #10 azure update, october
Intro to cloud computing
Microsoft bot framework in azure
Tokyo azure meetup #13 build bots with azure bot services
Bots are the New Apps: Building with the Bot Framework & Language Understanding
Bots in the Enterprise
Chatbot Artificial Intelligence
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational Interfaces
 
Getting Started with Microsoft Bot Framework
Ad

Similar to Bot Revolution lab at Codemotion Milan 2016 (20)

PDF
API Workshop Series Part 2: The Future of Intelligent User Interactions
PDF
Chatbot development workshop with the Microsoft Bot Framework
PPTX
Facebook Messenger Platform Framework
PDF
Neuron: A Learning Project and PoC implementing a private ChatGPT like (and...
PDF
Succeeding with FOSS!
PDF
Freedomotic v1.5 whitepaper
PPTX
Personal Work
PPTX
Microsoft Power Platform in 2025_Piyush Gupta_.pptx
PDF
Nt1320 Unit 6
PPTX
Top 5 Tips for Building Viral Social Web Applications and Sites
PPTX
Build an app from scratch using teams app studio for ms teams
PPTX
An end-to-end experience of Windows Phone 7 development (Part 2)
DOCX
unit 4.docx
PPT
Sudden Impact - Designing LAMP Applications for High Loads
PPTX
Time saving technology tips
DOCX
These are the instructionsTerm Paper VirtualizationDue Week 10.docx
DOCX
What is Android?
PDF
Technology for Teachers
PPTX
Event Technology Integration Solutions
PPT
Development Tools - Abhijeet
API Workshop Series Part 2: The Future of Intelligent User Interactions
Chatbot development workshop with the Microsoft Bot Framework
Facebook Messenger Platform Framework
Neuron: A Learning Project and PoC implementing a private ChatGPT like (and...
Succeeding with FOSS!
Freedomotic v1.5 whitepaper
Personal Work
Microsoft Power Platform in 2025_Piyush Gupta_.pptx
Nt1320 Unit 6
Top 5 Tips for Building Viral Social Web Applications and Sites
Build an app from scratch using teams app studio for ms teams
An end-to-end experience of Windows Phone 7 development (Part 2)
unit 4.docx
Sudden Impact - Designing LAMP Applications for High Loads
Time saving technology tips
These are the instructionsTerm Paper VirtualizationDue Week 10.docx
What is Android?
Technology for Teachers
Event Technology Integration Solutions
Development Tools - Abhijeet

More from gjuljo (20)

PPTX
Azure deployments and ARM templates
PDF
Azure Monitoring Overview
PDF
Going serverless with azure functions
PPTX
Microsoft Azure Technical Overview
PDF
Microservices Architecture: Labs
PDF
Microservices Architectures: Become a Unicorn like Netflix, Twitter and Hailo
PDF
IBM Business Connect 2015 - Bluemix Overview
PDF
FORUM PA 2015 - Microservices with IBM Bluemix
PDF
IBM Bluemix Introdution for Hackathons
PDF
IBM Bluemix Hackathon Accelerator
PPTX
IBM Bluemix and the Internet of Things - Workshop
PDF
Codemotion Rome 2015 IBM Bluemix and Docker
PDF
Codemotion Rome 2015 Bluemix Lab Tutorial
PPT
Codemotion Rome 2015 - Microservices with IBM Bluemix and DevOps Services
PDF
Hybrid Cloud with IBM Bluemix, Docker and Open Stack
PDF
InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
PDF
IBM Bluemix Tech Meetup 18-02-2015
PDF
IBM Bluemix saves the game
PDF
IBM Bluemix on the go - Giulio Santoli (Mobility Hackathon)
PDF
Codemotion Milano 2014 - IBM Keynote - Giulio Santoli
Azure deployments and ARM templates
Azure Monitoring Overview
Going serverless with azure functions
Microsoft Azure Technical Overview
Microservices Architecture: Labs
Microservices Architectures: Become a Unicorn like Netflix, Twitter and Hailo
IBM Business Connect 2015 - Bluemix Overview
FORUM PA 2015 - Microservices with IBM Bluemix
IBM Bluemix Introdution for Hackathons
IBM Bluemix Hackathon Accelerator
IBM Bluemix and the Internet of Things - Workshop
Codemotion Rome 2015 IBM Bluemix and Docker
Codemotion Rome 2015 Bluemix Lab Tutorial
Codemotion Rome 2015 - Microservices with IBM Bluemix and DevOps Services
Hybrid Cloud with IBM Bluemix, Docker and Open Stack
InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
IBM Bluemix Tech Meetup 18-02-2015
IBM Bluemix saves the game
IBM Bluemix on the go - Giulio Santoli (Mobility Hackathon)
Codemotion Milano 2014 - IBM Keynote - Giulio Santoli

Recently uploaded (20)

PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPT
Introduction Database Management System for Course Database
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Understanding Forklifts - TECH EHS Solution
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Transform Your Business with a Software ERP System
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Digital Strategies for Manufacturing Companies
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
How Creative Agencies Leverage Project Management Software.pdf
VVF-Customer-Presentation2025-Ver1.9.pptx
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Internet Downloader Manager (IDM) Crack 6.42 Build 41
ISO 45001 Occupational Health and Safety Management System
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Softaken Excel to vCard Converter Software.pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Introduction Database Management System for Course Database
Adobe Illustrator 28.6 Crack My Vision of Vector Design
ManageIQ - Sprint 268 Review - Slide Deck
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Understanding Forklifts - TECH EHS Solution
PTS Company Brochure 2025 (1).pdf.......
Transform Your Business with a Software ERP System
Wondershare Filmora 15 Crack With Activation Key [2025
Upgrade and Innovation Strategies for SAP ERP Customers
Digital Strategies for Manufacturing Companies
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Navsoft: AI-Powered Business Solutions & Custom Software Development

Bot Revolution lab at Codemotion Milan 2016

  • 1. Introducing the Azure Bot Service Lab code: https://github.com/vflorusso/botrevolution
  • 2. Chat Bots are services that people interact with through conversation and messaging.
  • 6. The Bot Framework Emulator is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.
  • 9. When you finish writing your bot, you need to • Register the bot to generate the bot’s app ID and password • connect the bot to channels of your choice • and (optionally) publish it.
  • 11. If you're running your bot behind a firewall or other network boundary and want to connect to an external channel, you will need to install and configure tunneling software (i.e. ngrok).
  • 25. Many messaging channels provide the ability to attach richer objects, such as media and reach cards. In the Bot Connector we map our attachment data structure to media attachments and rich cards on each channel. There are are several types of cards supported:
  • 27. Create your own LU model Train by providing examples Deploy to an HTTP endpoint and activate on any device Maintain model with ease
  • 28. Go to luis.ai: Sign in with your Microsoft account (MSA). If you don’t have MSA, you will have an option to create one. Get started by creating a New App and entering some basic information. Next, you will be presented with the Application Editor Workspace that will allow you to create and train your own language understanding model.
  • 29. Intents: Intents are actions that a user wants your app to take or the information they would like to obtain. Example intents could include getting weather, booking tickets, adding a calendar entry or operating a light fixture. Add one or more of user intents that you expect your app to handle by clicking + next to Intents item in the in the left- hand panel of the Editor Workspace. X
  • 30. Entities: Entities are real world objects such as persons, locations, organizations, products, etc. that can be denoted with a proper name. Entities can be abstract or have a physical existence. Entities can be generic (location, celebrity, datetime) or more specific (Seattle, Satya Nadella, June) Add one or more entities that you expect your app to recognize by clicking + next to Entities item in the left-hand panel of the Editor Workspace. Several commonly used pre-built entities (e.g. datetime, number) are also available to be added to the app by clicking + next to Pre- built Entities. X
  • 31. Seed the system with more examples: Enter more examples of queries that you expect your users to make. As you enter each one, you will need to: • select the name of the correct intent from the dropdown • label your entities that appear in each utterance by clicking on the entity and choosing corresponding label from the list • pre-built entities get automatically labeled in grey The more examples you provide, the more accurate the predictions. X
  • 32. As you click Train at left bottom corner of the page, LUIS: Generalizes from the examples you provided. Uses logistic regression classifiers to recognize intents. Uses conditional random field to determine the entities. Last train completed: 9/10/2016, 3:33:38 PM
  • 33. Deploy the model to an HTTP endpoint: Click the Publish button in the upper left- hand corner. The URL that you see appear after a few moments makes your model available as a web service.
  • 34. Deploy the model to an HTTP endpoint: Click the Publish button in the upper left- hand corner. The URL that you see appear after a few moments makes your model available as a web service.
  • 35. X What’s the weather in Berlin The weather is sunny with a temperature of 88°F. (data provided by Foreca http://www.foreca.com) Activate model from your application on any device: Update the URL with the parameter for the user query. The response received from LUIS will contain the list of detected intents and entities together with the confidence scores. You can now use this information in your app. For our example, we could next call the weather service and display the response in our app UI:
  • 37. A new Bot Service is available on Azure!