Book Image

Learning Microsoft Cognitive Services - Third Edition

By : Leif Larsen
Book Image

Learning Microsoft Cognitive Services - Third Edition

By: Leif Larsen

Overview of this book

Microsoft Cognitive Services is a set of APIs for integrating artificial intelligence in your applications to solve logical business problems. If you’re new to developing applications with AI, Learning Microsoft Cognitive Services will give you a comprehensive introduction to Microsoft’s AI stack and get you up-to-speed in no time. The book introduces you to 24 APIs, including Emotion, Language, Vision, Speech, Knowledge, and Search. Using Visual Studio, you can develop applications with enhanced capabilities for image processing, speech recognition, text processing, and much more. Moving forward, you will work with datasets that enable your applications to process various data in the form of image, video, or text. By the end of the book, you’ll be able to confidently explore Cognitive Services APIs for building intelligent applications that can be deployed for real-world business uses.
Table of Contents (17 chapters)
Learning Microsoft Cognitive Services - Third Edition
Contributors
Acknowledgments
Preface
Index

Creating a knowledge base from frequently asked questions


If no services have been created, we can create one by clicking on the Create a knowledge base tab. This will present us with the following screen, as shown in the following two screenshots:

  1. Create a QnA service in Microsoft Azure by clicking the blue button in S TEP 1 in the screenshot.

  2. Connect the QnA service to the knowledge base.

  3. Enter a name for the service.

  4. Enter the baseline FAQs to use. This can either be in the form of one or more URLs, or a file containing question-and-answer pairs. For our example, we will be generating a knowledge base from the URL.

  5. Let the rest of the settings be default.

  6. Click Create your KB.

Note

If you do not have any FAQs to use, you can use https://www.microsoft.com/en-us/software-download/faq from Microsoft.

Once the knowledge base has been created, you will be taken to a page with all the question-and-answer pairs. This is shown in the following screenshot:

On this page, we can look through all question...