You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/QnAMaker/Concepts/question-answer-set.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ The **optional** settings for a set include:
28
28
29
29
## Editorially add to knowledge base
30
30
31
-
If you do not have pre-existing content to populate the knowledge base, you can add QnA sets editorially in the QnA Maker portal. Learn how to update your knowledge base [here](../How-To/edit-knowledge-base.md).
31
+
If you do not have pre-existing content to populate the knowledge base, you can add QnA pairs editorially in the QnA Maker portal. Learn how to update your knowledge base [here](../How-To/edit-knowledge-base.md).
Copy file name to clipboardExpand all lines: articles/cognitive-services/QnAMaker/How-To/edit-knowledge-base.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,17 @@ ms.topic: conceptual
5
5
ms.date: 04/06/2020
6
6
---
7
7
8
-
# Edit QnA sets in your knowledge base
8
+
# Edit QnA pairs in your knowledge base
9
9
10
10
QnA Maker allows you to manage the content of your knowledge base by providing an easy-to-use editing experience.
11
11
12
-
QnA sets are added from a datasource, such as a file or URL, or added as an editorial source. An editorial source indicates the QnA set was added in the QnA portal manually. All QnA sets are available for editing.
12
+
QnA pairs are added from a datasource, such as a file or URL, or added as an editorial source. An editorial source indicates the QnA pair was added in the QnA portal manually. All QnA pairs are available for editing.
13
13
14
-
## Add an editorial QnA set
15
-
1. Sign in to the [QnA portal](https://www.qnamaker.ai/), then select the knowledge base to add the QnA set to.
16
-
1. On the **EDIT** page of the knowledge base, select **Add QnA set** to add a new QnA set.
14
+
## Add an editorial QnA pair
15
+
1. Sign in to the [QnA portal](https://www.qnamaker.ai/), then select the knowledge base to add the QnA pair to.
16
+
1. On the **EDIT** page of the knowledge base, select **Add QnA pair** to add a new QnA pair.
17
17
18
-
1. In the new QnA set row, add the required **Question** and **Answer** fields. The other fields are optional. All fields can be changed at any time.
18
+
1. In the new QnA pair row, add the required **Question** and **Answer** fields. The other fields are optional. All fields can be changed at any time.
19
19
20
20
1. Optionally, add **alternate phrasing**. Alternate phrasing is any form of the question that is significantly different from the original question but should provide the same answer.
21
21
@@ -25,42 +25,42 @@ QnA sets are added from a datasource, such as a file or URL, or added as an edit
25
25
26
26
1. Optionally, add **follow-up prompts**. Follow-up prompts provide additional conversation paths to the client application to present to the user.
27
27
28
-
1. Select **Save and train** to see predictions including the new QnA set.
28
+
1. Select **Save and train** to see predictions including the new QnA pair.
29
29
30
-
## Edit a QnA set
30
+
## Edit a QnA pair
31
31
32
-
Any field in any QnA set can be edited, regardless of the original data source. Some fields may not be visible due to your current **View Options** settings, found in the context tool bar.
32
+
Any field in any QnA pair can be edited, regardless of the original data source. Some fields may not be visible due to your current **View Options** settings, found in the context tool bar.
33
33
34
-
## Delete a QnA set
34
+
## Delete a QnA pair
35
35
36
36
To delete a QnA, click the **delete** icon on the far right of the QnA row. This is a permanent operation. It can't be undone. Consider exporting your KB from the **Publish** page before deleting sets.
Linking QnA sets is provided with [follow-up prompts](multiturn-conversation.md). This is a logical connection between QnA sets, managed at the knowledge base level. You can edit follow-up prompts in the QnA Maker portal.
55
+
Linking QnA pairs is provided with [follow-up prompts](multiturn-conversation.md). This is a logical connection between QnA pairs, managed at the knowledge base level. You can edit follow-up prompts in the QnA Maker portal.
56
56
57
-
You can't link QnA sets in the answer's metadata.
57
+
You can't link QnA pairs in the answer's metadata.
58
58
59
59
## Add metadata
60
60
61
61
Add metadata sets by first selecting **View options**, then selecting **Show metadata**. This displays the metadata column. Next, select the **+** sign to add a metadata set. This set consists of one key and one value.
62
62
63
-
## Save changes to the QnA sets
63
+
## Save changes to the QnA pairs
64
64
65
65
Periodically select **Save and train** after making edits to avoid losing changes.
Copy file name to clipboardExpand all lines: articles/cognitive-services/QnAMaker/Quickstarts/add-question-metadata-portal.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Once a knowledge base is created, add question and answer (QnA) sets with metada
22
22
|#1|`How large a knowledge base can I create?`<br><br>`What is the max size of a knowledge base?`<br><br>`How many GB of data can a knowledge base hold?`|`The size of the knowledge base depends on the SKU of Azure search you choose when creating the QnA Maker service. Read [here](https://docs.microsoft.com/azure/cognitive-services/qnamaker/tutorials/choosing-capacity-qnamaker-deployment) for more details.`|`service=qna_maker`<br>`link_in_answer=true`|
23
23
|#2|`How many knowledge bases can I have for my QnA Maker service?`<br><br>`I selected a Azure Cognitive Search tier that holds 15 knowledge bases, but I can only create 14 - what is going on?`<br><br>`What is the connection between the number of knowledge bases in my QnA Maker service and the Azure Cognitive Search service size?`|`Each knowledge base uses 1 index, and all the knowledge bases share a test index. You can have N-1 knowledge bases where N is the number of indexes your Azure Cognitive Search tier supports.`|`service=search`<br>`link_in_answer=false`|
24
24
25
-
Once metadata is added to a QnA set, the client application can:
25
+
Once metadata is added to a QnA pair, the client application can:
26
26
27
27
* Request answers that only match certain metadata.
28
28
* Receive all answers but post-process the answers depending on the metadata for each answer.
@@ -40,7 +40,7 @@ Once metadata is added to a QnA set, the client application can:
40
40
41
41
## Add additional alternatively-phrased questions
42
42
43
-
The current knowledge base has the QnA Maker troubleshooting QnA sets. These sets were created when the URL was added to the knowledge base during the creation process.
43
+
The current knowledge base has the QnA Maker troubleshooting QnA pairs. These sets were created when the URL was added to the knowledge base during the creation process.
44
44
45
45
When this URL was imported, only one question with one answer was created. In this procedure, add additional questions.
46
46
@@ -77,7 +77,7 @@ Adding metadata to a question and answer set allows your client application to r
77
77
78
78
1. Select **View options**, then select **Show metadata**.
79
79
80
-
1. For the QnA set you just added, select **Add metadata tags**, then add the name of `service` and the value of `search`. It looks like this: `service:search`.
80
+
1. For the QnA pair you just added, select **Add metadata tags**, then add the name of `service` and the value of `search`. It looks like this: `service:search`.
81
81
82
82
1. Add another metadata tag with name of `link_in_answer` and value of `false`. It looks like this: `link_in_answer:false`.
Copy file name to clipboardExpand all lines: articles/cognitive-services/QnAMaker/Quickstarts/batch-testing.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ Use the following chart to understand how to find the field values for optional
144
144
|Charge your Surface Pro 4|
145
145
|Check the battery level|
146
146
147
-
Two QnA sets have the metadata set.
147
+
Two QnA pairs have the metadata set.
148
148
149
149
> [!TIP]
150
150
> To see the metadata and QnA IDs of each set, export the knowledge base. Select the **Settings** page, then select **Export** as a `.xls` file. Find this downloaded file and open with Excel reviewing for metadata and ID.
@@ -164,7 +164,7 @@ There are two main scenarios for batch testing:
164
164
165
165
The following procedure assumes the scenario is to process chat logs with
166
166
167
-
1. Create a new batch test file to include optional data, `batch-test-data-2.tsv`. Add the 6 rows from the original batch test input file, then add the metadata, top, and QnA set ID for each row.
167
+
1. Create a new batch test file to include optional data, `batch-test-data-2.tsv`. Add the 6 rows from the original batch test input file, then add the metadata, top, and QnA pair ID for each row.
168
168
169
169
To simulate the automated process of checking new text from chat logs against the knowledge base, set the metadata for each column to the same value: `topic:power`.
Copy file name to clipboardExpand all lines: articles/cognitive-services/QnAMaker/Quickstarts/create-publish-knowledge-base.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ When you make changes to the knowledge base and republish, you don't need to tak
131
131
132
132
## What did you accomplish?
133
133
134
-
You created a new knowledge base, added a public URL to the knowledge base, added your own QnA set, trained, tested, and published the knowledge base.
134
+
You created a new knowledge base, added a public URL to the knowledge base, added your own QnA pair, trained, tested, and published the knowledge base.
135
135
136
136
After publishing the knowledge base, you created a bot, and tested the bot.
Copy file name to clipboardExpand all lines: articles/cognitive-services/QnAMaker/includes/quickstart-test-tool-curl.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,13 @@ This cURL-based quickstart walks you through getting an answer from your knowled
29
29
Use the knowledge base from the previous quick to query for an answer based on metadata.
30
30
31
31
1. From the knowledge base's **Settings** page, select the **CURL** tab to see an example cURL command used to generate an answer from the knowledge base.
32
-
1. Copy the command to an editable environment (such as a text file) so you can edit the command. Edit the question value as follows so that the metadata of `service:qna_maker` is used as a filter for the QnA sets.
32
+
1. Copy the command to an editable environment (such as a text file) so you can edit the command. Edit the question value as follows so that the metadata of `service:qna_maker` is used as a filter for the QnA pairs.
The question is just a single word, `size`, which can return either of the two QnA sets. The `strictFilters` array tells the response to reduce to just the `qna_maker` answers.
38
+
The question is just a single word, `size`, which can return either of the two QnA pairs. The `strictFilters` array tells the response to reduce to just the `qna_maker` answers.
39
39
40
40
1. The response includes only the answer that meets the filter criteria. The following cURL response has been formatted for readability:
Copy file name to clipboardExpand all lines: articles/cognitive-services/QnAMaker/includes/quickstart-test-tool-postman.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ Use this procedure to configure Postman, then read each subsequent section to co
44
44
45
45
## Use metadata to filter answer
46
46
47
-
In a previous quickstart, metadata was added to two QnA sets to distinguish between two different questions. Add the metadata to the query to restrict the filter to just the relevant QnA set.
47
+
In a previous quickstart, metadata was added to two QnA pairs to distinguish between two different questions. Add the metadata to the query to restrict the filter to just the relevant QnA pair.
48
48
49
49
1. In Postman, change only the query JSON by adding the `strictFilters` property with the name/value pair of `service:qna_maker`. The body JSON should be:
0 commit comments