Building Bots with Microsoft Bot Framework

Build intelligent and smart conversational interfaces using Microsoft Bot Framework

Building Bots with Microsoft Bot Framework

This ebook is included in a Mapt subscription
Kishore Gaddam

1 customer reviews
Build intelligent and smart conversational interfaces using Microsoft Bot Framework
$0.00
$22.40
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781786463104
Paperback424 pages

Book Description

Bots help users to use the language as a UI and interact with the applications from any platform. This book teaches you how to develop real-world bots using Microsoft Bot Framework.

The book starts with setting up the Microsoft Bot Framework development environment and emulator, and moves on to building the first bot using Connector and Builder SDK. Explore how to register, connect, test, and publish your bot to the Slack, Skype, and Facebook Messenger platforms.

Throughout this book, you will build different types of bots from simple to complex, such as a weather bot, a natural speech and intent processing bot, an Interactive Voice Response (IVR) bot for a bank, a facial expression recognition bot, and more from scratch.

These bots were designed and developed to teach you concepts such as text detection, implementing LUIS dialogs, Cortana Intelligence Services, third-party authentication, Rich Text format, Bot State Service, and microServices so you can practice working with the standard development tools such as Visual Studio, Bot Emulator, and Azure.

Table of Contents

Chapter 1: Setting up Microsoft Bot Framework Dev Environment
Conversation as a Service (CaaS)
Your bot
The Bot Connector
The Bot Directory
Setting up the development environment
Messages
Cards and buttons
Groups
Calling
Summary
Chapter 2: Developing Your First Bot Using the Connector and Builder SDK
Bots are evolving
Bots use cases
Developing your first bot
Creating our first bot
Post method
How to deploy and run the bot application in the Bot Framework emulator locally
How to use dialogs in bot applications
How to use FormFlow in the bot application
Summary
Chapter 3: Developing WeatherBot Using Dialogs and LUIS
Language Understanding Intelligent Service (LUIS)
Intents and Entities
Training your bot using utterances
Development of WeatherBot code
Calling LUIS from the bot
Natural speech and Intent processing bot using Microsoft Cognitive Services
Identifying the name of a person, place, and company using LUIS
Training your app
Calling LUIS from the bot
Summary
Chapter 4: Natural Speech and Intent Processing Bot Using Microsoft Cognitive Services
Microsoft Cognitive Services
Identifying the name of a person, place, and company using LUIS
Training your app using utterances
Calling LUIS from the bot
Summary
Chapter 5: Developing Bots Using LUIS Prompt Dialogs with State and Nearby Bot Using Custom APIs
Employee Enroll bot using LUIS prompt dialogs
Creating the C# class for LUIS response
Bot state service
Developing a Nearby Bot using custom APIs
Summary
Chapter 6: Developing an IVR Bot for a Bank Using Advanced Microsoft Bot Framework Technologies
High-level architectural diagram
Let's start coding
Storing the bot conversation (new account info) data in an Azure SQL database
Checking your savings account balance using the bot
Checking your current account balance using the bot
Paying your credit card bill using the bot
Deleting an account using the bot
Summary
Chapter 7: Intelligent Bots with Microsoft Bot Framework and Service Fabric
Getting started using stateless microservices
Publishing a Service Fabric project in Azure
Summary
Chapter 8: Developing Intelligent Facial Expression Identification Bot for IoT Using Azure and Power BI
Before getting started
Configuring Raspberry Pi and sensors 
Device identity and registry with IoT Hub
Face API
Emotion API
Sign Up Microsoft Cognitive Services
Registering your Bot in Bot Framework
Configure Direct Line Channel
Develop an UWP app for Raspberry Pi device
Deploy Code in to Raspberry Pi
Show facial analytics data in Power BI
Summary
Chapter 9: Publishing a Bot to Skype, Slack, Facebook, and the GroupMe Channel
Publishing bots to various channels
Registering your bot with Microsoft Bot Framework
Configuring channels
Summary

What You Will Learn

  • Set up a development environment and install all the required software to get started programming a bot
  • Publish a bot to Slack, Skype, and the Facebook Messenger platform
  • Develop a fully functional weather bot that communicates the current weather in a given city
  • Help your bot identify the intent of a text with the help of LUIS in order to make decisions
  • Integrate an API into your bot development
  • Build an IVR solution
  • Explore the concept of MicroServices and see how MicroServices can be used in bot development
  • Develop an IoT project, deploy it, and connect it to a bot

Authors

Table of Contents

Chapter 1: Setting up Microsoft Bot Framework Dev Environment
Conversation as a Service (CaaS)
Your bot
The Bot Connector
The Bot Directory
Setting up the development environment
Messages
Cards and buttons
Groups
Calling
Summary
Chapter 2: Developing Your First Bot Using the Connector and Builder SDK
Bots are evolving
Bots use cases
Developing your first bot
Creating our first bot
Post method
How to deploy and run the bot application in the Bot Framework emulator locally
How to use dialogs in bot applications
How to use FormFlow in the bot application
Summary
Chapter 3: Developing WeatherBot Using Dialogs and LUIS
Language Understanding Intelligent Service (LUIS)
Intents and Entities
Training your bot using utterances
Development of WeatherBot code
Calling LUIS from the bot
Natural speech and Intent processing bot using Microsoft Cognitive Services
Identifying the name of a person, place, and company using LUIS
Training your app
Calling LUIS from the bot
Summary
Chapter 4: Natural Speech and Intent Processing Bot Using Microsoft Cognitive Services
Microsoft Cognitive Services
Identifying the name of a person, place, and company using LUIS
Training your app using utterances
Calling LUIS from the bot
Summary
Chapter 5: Developing Bots Using LUIS Prompt Dialogs with State and Nearby Bot Using Custom APIs
Employee Enroll bot using LUIS prompt dialogs
Creating the C# class for LUIS response
Bot state service
Developing a Nearby Bot using custom APIs
Summary
Chapter 6: Developing an IVR Bot for a Bank Using Advanced Microsoft Bot Framework Technologies
High-level architectural diagram
Let's start coding
Storing the bot conversation (new account info) data in an Azure SQL database
Checking your savings account balance using the bot
Checking your current account balance using the bot
Paying your credit card bill using the bot
Deleting an account using the bot
Summary
Chapter 7: Intelligent Bots with Microsoft Bot Framework and Service Fabric
Getting started using stateless microservices
Publishing a Service Fabric project in Azure
Summary
Chapter 8: Developing Intelligent Facial Expression Identification Bot for IoT Using Azure and Power BI
Before getting started
Configuring Raspberry Pi and sensors 
Device identity and registry with IoT Hub
Face API
Emotion API
Sign Up Microsoft Cognitive Services
Registering your Bot in Bot Framework
Configure Direct Line Channel
Develop an UWP app for Raspberry Pi device
Deploy Code in to Raspberry Pi
Show facial analytics data in Power BI
Summary
Chapter 9: Publishing a Bot to Skype, Slack, Facebook, and the GroupMe Channel
Publishing bots to various channels
Registering your bot with Microsoft Bot Framework
Configuring channels
Summary

Book Details

ISBN 139781786463104
Paperback424 pages
Read More
From 1 reviews

Read More Reviews