Skip to content

Commit 13a155c

Browse files
authored
Merge pull request #102582 from diberry/diberry/0128-qna-prakul-1
[Cogsvcs] QnA Maker - Tutorial - create, answer KB
2 parents d140487 + 36ddc36 commit 13a155c

File tree

6 files changed

+16
-15
lines changed

6 files changed

+16
-15
lines changed

articles/cognitive-services/QnAMaker/Tutorials/create-publish-query-in-portal.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
---
22
title: "Tutorial: Create, publish, and answer in QnA Maker"
3-
titleSuffix: Azure Cognitive Services
43
description: This tutorial shows how to create a new knowledge base with questions and answers from a public web-based FAQ. Save, train, and publish the knowledge base. After the knowledge base is published, send a question and receive an answer with a cURL command. Then create a bot, and test the bot with the same question.
5-
services: cognitive-services
6-
author: diberry
7-
manager: nitinme
8-
ms.custom: seodec18
9-
ms.service: cognitive-services
10-
ms.subservice: qna-maker
114
ms.topic: tutorial
12-
ms.date: 10/14/2019
13-
ms.author: diberry
5+
ms.date: 01/28/2020
146
#Customer intent: As an model designer, new to the QnA Maker service, I want to understand all the process requirements to create a knowledge base and generate an answer from that knowledge base.
157
---
168

@@ -41,7 +33,8 @@ This tutorial requires an existing [QnA Maker service](../How-To/set-up-qnamaker
4133

4234
1. Select **Create a knowledge base** from the top menu.
4335

44-
![Screenshot of QnA Maker portal](../media/qnamaker-tutorial-create-publish-query-in-portal/create-kb-step-1.png)
36+
> [!div class="mx-imgBorder"]
37+
> ![Screenshot of QnA Maker portal](../media/qnamaker-tutorial-create-publish-query-in-portal/create-kb-step-1.png)
4538
4639
1. Skip the first step, because you will use your existing QnA Maker service.
4740

@@ -52,32 +45,40 @@ This tutorial requires an existing [QnA Maker service](../How-To/set-up-qnamaker
5245
|Microsoft Azure Directory ID|This ID is associated with the account you use to sign into the Azure portal and the QnA Maker portal. |
5346
|Azure Subscription name|The billing account in which you created the QnA Maker resource.|
5447
|Azure QnA Service|Your existing QnA Maker resource.|
48+
|Language|Language used for all knowledge bases in service. Do not mix languages in a single resource. That will harm answer quality.|
5549

56-
![Screenshot of QnA Maker portal](../media/qnamaker-tutorial-create-publish-query-in-portal/create-kb-step-2.png)
50+
> [!div class="mx-imgBorder"]
51+
> ![Screenshot of QnA Maker portal](../media/qnamaker-tutorial-create-publish-query-in-portal/create-kb-step-2.png)
5752
5853
1. Enter your knowledge base name, `My Tutorial kb`.
5954

60-
![Screenshot of QnA Maker portal](../media/qnamaker-tutorial-create-publish-query-in-portal/create-kb-step-3.png)
55+
> [!div class="mx-imgBorder"]
56+
> ![Screenshot of QnA Maker portal](../media/qnamaker-tutorial-create-publish-query-in-portal/create-kb-step-3.png)
6157
6258
1. Populate your knowledge base with the following settings:
6359

6460
|Setting name|Setting value|Purpose|
6561
|--|--|--|
62+
|Enable multi-turn extraction|Checked|Allows for follow-up prompts.|
63+
|Default answer text|`No good answer was found.`|Returned when there is no match to the question.|
6664
|URL|`https://docs.microsoft.com/azure/cognitive-services/qnamaker/faqs` |The contents of the FAQ at that URL are formatted with a question followed by an answer. QnA Maker can interpret this format to extract questions and the associated answers.|
6765
|File |_not used in this tutorial_|This uploads files for questions and answers. |
6866
|Chit-chat personality|Friendly|This gives a friendly and casual [personality](../Concepts/best-practices.md#chit-chat) to common questions and answers. You can edit these questions and answers later. |
6967

70-
![Screenshot of QnA Maker portal](../media/qnamaker-tutorial-create-publish-query-in-portal/create-kb-step-4.png)
68+
> [!div class="mx-imgBorder"]
69+
> ![Screenshot of QnA Maker portal](../media/qnamaker-tutorial-create-publish-query-in-portal/create-kb-step-4.png)
7170
7271
1. Select **Create your KB** to finish the creation process.
7372

74-
![Screenshot of QnA Maker portal](../media/qnamaker-tutorial-create-publish-query-in-portal/create-kb-step-5.png)
73+
> [!div class="mx-imgBorder"]
74+
> ![Screenshot of QnA Maker portal](../media/qnamaker-tutorial-create-publish-query-in-portal/create-kb-step-5.png)
7575
7676
## Review, save, and train the knowledge base
7777

7878
1. Review the questions and answers. The first page is questions and answers from the URL.
7979

80-
![Screenshot of QnA Maker portal](../media/qnamaker-tutorial-create-publish-query-in-portal/save-and-train-kb.png)
80+
> [!div class="mx-imgBorder"]
81+
> ![Screenshot of QnA Maker portal](../media/qnamaker-tutorial-create-publish-query-in-portal/save-and-train-kb.png)
8182
8283
1. Select the last page of questions and answers from the bottom of the table. The page shows questions and answers from the Chit-chat personality.
8384

3.45 KB
Loading
-1.2 KB
Loading
229 Bytes
Loading
Loading
1.56 KB
Loading

0 commit comments

Comments
 (0)