Book Image

Learning Microsoft Cognitive Services

By : Leif Larsen
Book Image

Learning Microsoft Cognitive Services

By: Leif Larsen

Overview of this book

Take your app development to the next level with Learning Microsoft Cognitive Services. Using Leif's knowledge of each of the powerful APIs, you'll learn how to create smarter apps with more human-like capabilities. ? Discover what each API has to offer and learn how to add it to your app ? Study each AI using theory and practical examples ? Learn current API best practices
Table of Contents (20 chapters)
Learning Microsoft Cognitive Services
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
12
Additional Information on Linguistic Analysis

Answering FAQs using QnA Maker


QnA Maker allows us to use existing frequently asked questions (FAQ) to create a bot that answers these questions. We can generate a knowledge base from existing FAQs, and train a model from it.

To get started, head over to https://qnamaker.ai. Log on or register, by clicking Sign in, in the top right corner. This will present you with the following screen:

If no services have been created yet, the list will be empty.

Creating a knowledge base from frequently asked questions

If no services have been created, we can create one by clicking on the Create new service tab. This will present us with the following screen:

Enter a useful name for the service. This is also where we enter the baseline FAQs to use. This can either be in the form of one or more URLs, or a file containing questions and answer pairs. For our example, we will be generating a knowledge base from the URL.

Note

If you do not have any FAQ to use, you can use the following from Microsoft: https...