Building Bots with Microsoft Bot Framework
eBook - ePub

Building Bots with Microsoft Bot Framework

Kishore Gaddam

  1. 424 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Building Bots with Microsoft Bot Framework

Kishore Gaddam

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

Build intelligent and smart conversational interfaces using Microsoft Bot FrameworkAbout This Book• Develop various real-world intelligent bots from scratch using Microsoft Bot Framework• Integrate your bots with most popular conversation platforms such as Skype, Slack, and Facebook Messenger• Flaunt your bot building skills in your organization by thoroughly understanding and implementing the bot development concepts such as messages (rich text and pictures), dialogs, and third-party authentication and callingWho This Book Is ForThis book is for developers who are keen on building powerful services with great and interactive bot interface. Experience with C# is needed.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 botIn DetailBots 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.Style and approachThis step-by-step guide takes a learn-while-doing approach, delivering the practical knowledge and experience you need to design and build real-world Bots. The concepts come to you on an as-needed basis while developing a bot so you increase your programming knowledge and experience at the same time.

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Building Bots with Microsoft Bot Framework als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Building Bots with Microsoft Bot Framework von Kishore Gaddam im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Ciencia de la computación & Sistemas operativos. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2017
ISBN
9781786469649

Developing WeatherBot Using Dialogs and LUIS

In previous chapters, we have gone through some of the concepts involved in developing and publishing bot applications. In this chapter, we will develop a bot called WeatherBot, show you how to use LUIS in dialogs and how to use third-party APIs from a bot. This involves some additional coding efforts to develop the weather bot. We will build a weather bot that is able to understand and respond to various commands, such as What's the weather like in New York?, Get Weather in Seattle, and so on. The bot will use LUIS to identify the intent of the user and reply with the appropriate message.
Before jumping into writing code, we need to configure LUIS for WeatherBot. Here, we will go through the steps on how the user gets weather data for a given location when requested by the user. We will see how LUIS can help us make the conversation between the user and your bot in more natural language, similar to how we interact with humans.
The WeatherBot will have intelligence, which will help users to interact with it, similar to how we interact with humans (in natural language). The following are some examples:
  • What will the weather be like in Ashburn?
  • Get weather in Seattle
  • Weather in Seattle
  • Hi, what is the current weather in Ashburn?
We will achieve this with the help of Natural Language Processing (NLP) using Microsoft Cognitive Services' LUIS.

Language Understanding Intelligent Service (LUIS)

Language Understanding Intelligent Service (LUIS) is one of the services in Microsoft Cognitive Services provided by Microsoft. As mentioned earlier, natural language is a fundamental element in developing bot applications. As a result, the technology industry has seen a direct correlation between the evolution of bot platforms and NLP platforms. Although the evolution of bot technologies has been predominantly driven by messaging platform providers such as Slack or Facebook, the main advancements in NLP technologies seem to be coming from cloud platform providers such as Microsoft. As a result, to take advantage of the NLP and Natural Language Understanding (NLU) algorithms, most bot developers spend time integrating their bot applications with NLP services provided by platforms such as LUIS from Microsoft. LUIS can process natural language using pre-built or custom-trained language models.
Microsoft's LUIS is a component of the Microsoft Cognitive Services Suite that helps in creating and processing natural language models. LUIS provides a sophisticated toolset that allows developers to develop and train the platform in new conversation models. LUIS can also be used in conjunction with other text processing APIs in the Microsoft Cognitive Services Suite, such as text analytics and many other services. The LUIS platform provides a deep integration with Microsoft Bot Framework technology and can be used by other bot platforms.
Here are some of the salient features of LUIS:
Let's perform the following steps to sign up for Microsoft Cognitive Services and learn how to use LUIS:
  1. Go to https://www.microsoft.com/cognitive-services and select the APIs option on the home page:
  1. Under the APIs menu, select the Language Understanding option:
  1. On the Language Understanding Intelligent Service (LUIS) page, click on Get started for free:
  1. It will navigate to https://www.luis.ai/ , the home page of LUIS. Click on Sign in or create an account:
  1. On the Sign In Options popup, select Sign in using a Microsoft account (most users):
  1. It will open an OAuth flow to authenticate your Microsoft account. Once you are successfully authenticated, it will ask you to grant permissions to access your profile information; click on Yes:
  1. Now LUIS will ask you to give a little more information about your country and company. After entering all the required information, click on the Continue button:
  1. The following is the page where you will see all the LUIS apps, that you create:
Now we are ready to create and build LUIS models. With the help of LUIS, we can build more complex NLP models, but for the weather bot, we will use basic and pre-built features. Before building your model, you should know what an Intent is and what an Entity is.

Intents and Entities

When a user enters a sentence, LUIS will interpret it and parse out the Intent and Entities. An Intent is an action the user wants to perform, and Entities are the s...

Inhaltsverzeichnis

  1. Title Page
  2. Copyright
  3. Credits
  4. About the Author
  5. About the Reviewer
  6. www.PacktPub.com
  7. Customer Feedback
  8. Preface
  9. Setting up Microsoft Bot Framework Dev Environment
  10. Developing Your First Bot Using the Connector and Builder SDK
  11. Developing WeatherBot Using Dialogs and LUIS
  12. Natural Speech and Intent Processing Bot Using Microsoft Cognitive Services
  13. Developing Bots Using LUIS Prompt Dialogs with State and Nearby Bot Using Custom APIs
  14. Developing an IVR Bot for a Bank Using Advanced Microsoft Bot Framework Technologies
  15. Intelligent Bots with Microsoft Bot Framework and Service Fabric
  16. Developing Intelligent Facial Expression Identification Bot for IoT Using Azure and Power BI
  17. Publishing a Bot to Skype, Slack, Facebook, and the GroupMe Channel
Zitierstile für Building Bots with Microsoft Bot Framework

APA 6 Citation

Gaddam, K. (2017). Building Bots with Microsoft Bot Framework (1st ed.). Packt Publishing. Retrieved from https://www.perlego.com/book/526981/building-bots-with-microsoft-bot-framework-pdf (Original work published 2017)

Chicago Citation

Gaddam, Kishore. (2017) 2017. Building Bots with Microsoft Bot Framework. 1st ed. Packt Publishing. https://www.perlego.com/book/526981/building-bots-with-microsoft-bot-framework-pdf.

Harvard Citation

Gaddam, K. (2017) Building Bots with Microsoft Bot Framework. 1st edn. Packt Publishing. Available at: https://www.perlego.com/book/526981/building-bots-with-microsoft-bot-framework-pdf (Accessed: 14 October 2022).

MLA 7 Citation

Gaddam, Kishore. Building Bots with Microsoft Bot Framework. 1st ed. Packt Publishing, 2017. Web. 14 Oct. 2022.