Building Bots with Microsoft Bot Framework
eBook - ePub

Building Bots with Microsoft Bot Framework

Kishore Gaddam

  1. 424 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Building Bots with Microsoft Bot Framework

Kishore Gaddam

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

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.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Building Bots with Microsoft Bot Framework è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Building Bots with Microsoft Bot Framework di Kishore Gaddam in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Ciencia de la computación e Sistemas operativos. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
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...

Indice dei contenuti

  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
Stili delle citazioni per 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.