Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Bots with Microsoft Bot Framework

You're reading from   Building Bots with Microsoft Bot Framework Creating intelligent conversational interfaces

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781786463104
Length 424 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Kishore Gaddam Kishore Gaddam
Author Profile Icon Kishore Gaddam
Kishore Gaddam
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Setting up Microsoft Bot Framework Dev Environment FREE CHAPTER 2. Developing Your First Bot Using the Connector and Builder SDK 3. Developing WeatherBot Using Dialogs and LUIS 4. Natural Speech and Intent Processing Bot Using Microsoft Cognitive Services 5. Developing Bots Using LUIS Prompt Dialogs with State and Nearby Bot Using Custom APIs 6. Developing an IVR Bot for a Bank Using Advanced Microsoft Bot Framework Technologies 7. Intelligent Bots with Microsoft Bot Framework and Service Fabric 8. Developing Intelligent Facial Expression Identification Bot for IoT Using Azure and Power BI 9. Publishing a Bot to Skype, Slack, Facebook, and the GroupMe Channel

What this book covers

Chapter 1, Setting up the Microsoft Bot Framework Dev Environment, introduces the reader to what Microsoft Bot Framework is and how it helps in the development of bots. It walks the reader through on how to set up development environment, emulator, and the tools needed for programming. Reader gets to set up their development environment and install all the software required for getting started with programming a bot. The reader is also introduced to all the programming concepts involved in the development of bots.

Chapter 2, Developing Your First Bot Using the Connector and Builder SDK, this chapter introduces the reader to bot programming by building and locally deploying a simple Hello World bot application. The readers will get their feet wet with Visual Studio, C# .NET, Bot Framework, and the related technologies, along with all the steps required to create projects. This chapter includes a discussion of Bot Emulator and how it relates to bot development.

Chapter 3, Developing a WeatherBot Using Dialogs and LUIS, guides the reader through developing a fully functional weather bot. This bot communicates the current weather in a given city. Readers will interact with this bot on Skype or any other channel to find out the current weather at a given location.

Chapter 4, Natural Speech and Intent Processing Bot using Microsoft Cognitive Services, introduces the reader to the RichText Message technology, as well as Cortana Intelligence Services, by developing a fully functional bot. This bot identifies the concepts and actions in the text that is sent to the bot with part-of-speech tagging, finds phrases and concepts using natural language parsers, and returns all the identified intents that are created and trained in a custom LUIS app. If you say "Hi John, I am going to New York tonight," the bot will return part-of-speech tagging, as well as parsing data for natural speech and intent processing to find out the name, location, and so on.

Name: John

Place: New York

Whether you're mining customer feedback, interpreting user commands, or consuming web text, understanding the structure of the text is a critical first step and this chapter teaches that.

Chapter 5, Developing Bots Using LUIS Prompt Dialogs with State and Nearby Bot Using Custom APIs, is about how we can integrate APIs into bot development. Currently, every enterprise has web and mobile applications built on top of their APIs, which contain business functionality. Now, it would be natural to extend those APIs so that they can be used for bots as well. This chapter introduces readers to how to use Microsoft Bot Framework to develop a Nearby bot using APIs. This Nearby bot will provide the reader with all the available places near their location, with details for each and every one of them. This bot helps you to easily find nearby banks, clubs, restaurants, hotels, museums, pharmacies, hospitals, or any other place you want to search for.

Chapter 6, Developing an IVR Bot for a Bank using Advanced Microsoft Bot Framework Technologies, includes a real-world project that we will build from the ground up, so that readers can learn the concept as well as relate it to real-world scenarios. The following topics are explained in this chapter:

  • Building Interactive Voice Response (IVR) solutions
  • Learning how to build bots using dialogs, third-party authentication, Rich Text Format, and Bot State Service.
  • Learning how to use Form Builder while developing bots
  • Learning how to program using prompt dialogs
  • Learning how to implement Buttons in buttons
  • Third-party authentication
  • Bot State Service

Chapter 7, Intelligent Bots with Microsoft Bot Framework and Service Fabric, introduces the reader to the concept of microservices and how microservices can be used in bot development. They get to learn about and work on microservices development, as well as learn to program a bot using microservices, and will get to learn how to use this microservice-based bot and publish it to various channels.

Chapter 8, Developing an Intelligent Facial Expression Identification Bot for IoT using Azure and Power BI, introduces the reader to IoT and how bots can help in IoT development. Here, the reader will develop an IoT project and connect it to a bot for automation. Power BI is used to show report from bots. The reader will learn to develop, deploy, and connect an IoT project to a bot. They will get to learn how IoT, bots, Azure, and Power BI fit together in an enterprise application development scenario.

Chapter 9, Publishing a Bot to Skype, Slack, Facebook, and the GroupMe Channel, guides the reader on how to publish the Hello World bot we developed in a previous chapter to the Slack, Skype, and Facebook Messenger platforms. In this chapter readers will learn the following:

  • Registering bot: Once registered, the reader uses the dashboard to test their bot to ensure that it is talking to the connector service. They can also use the web chat control, an auto-configured channel, to experience what their users will experience when conversing with the bot.
  • Connecting to channels: Connect your bot to conversation channels such as Skype, Slack, and Facebook Messenger using the channel configuration page.
  • Testing the bot: The reader gets to test their bot's connection to the Bot Framework and try it out using web chat controls.
  • Publishing the bot: The reader gets to publish the bot.
  • Analyzing the bot: The reader gets to learn how to link their bot to Azure Application Insights analytics directly from the bot dashboard of the Bot Framework website.
  • Managing a bot: Once registered and connected to channels, you can manage your bot via your bot's dashboard in the Bot Framework Developer Portal.
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime