Building Bots with Microsoft Bot Framework
eBook - ePub

Building Bots with Microsoft Bot Framework

Kishore Gaddam

  1. 424 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Building Bots with Microsoft Bot Framework

Kishore Gaddam

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

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.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Building Bots with Microsoft Bot Framework est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Building Bots with Microsoft Bot Framework par Kishore Gaddam en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Ciencia de la computaciĂłn et Sistemas operativos. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
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...

Table des matiĂšres

  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
Normes de citation pour 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.