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/How-To/edit-knowledge-base.md
+28-8Lines changed: 28 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,31 @@ QnA pairs are added from a datasource, such as a file or URL, or added as an edi
25
25
> [!div class="mx-imgBorder"]
26
26
> 
27
27
28
-
1. Use the rich-text editor to write and format text and save as markdown.
28
+
1. Optionally, add **[alternate phrasing](../Quickstarts/add-question-metadata-portal.md#add-additional-alternatively-phrased-questions)**. Alternate phrasing is any form of the question that is significantly different from the original question but should provide the same answer.
29
+
30
+
When your knowledge base is published, and you have [active learning](use-active-learning.md) turned on, QnA Maker collects alternate phrasing choices for you to accept. These choices are selected in order to increase the prediction accuracy.
31
+
32
+
1. Optionally, add **[metadata](../Quickstarts/add-question-metadata-portal.md#add-metadata-to-filter-the-answers)**. To view metadata, select **View options** in the context menu. Metadata provides filters to the answers that the client application, such as a chat bot, provides.
33
+
34
+
1. Optionally, add **[follow-up prompts](multiturn-conversation.md)**. Follow-up prompts provide additional conversation paths to the client application to present to the user.
35
+
36
+
1. Select **Save and train** to see predictions including the new QnA pair.
37
+
38
+
## Rich-text editing for answer
39
+
40
+
Rich-text editing of your answer text gives you markdown styling from a simple toolbar.
41
+
42
+
1. Select the text area for an answer, the rich-text editor toolbar displays on the QnA pair row.
43
+
44
+
> [!div class="mx-imgBorder"]
45
+
> 
46
+
47
+
Any text already in the answer displays correctly as your user will see it from a bot.
48
+
49
+
1. Edit the text. Select formatting features from the rich-text editing toolbar or use the toggle feature to switch to markdown syntax.
29
50
30
51
> [!div class="mx-imgBorder"]
31
-
> 
52
+
> 
32
53
33
54
|Rich-text editor features|Keyboard shortcut|
34
55
|--|--|
@@ -37,22 +58,21 @@ QnA pairs are added from a datasource, such as a file or URL, or added as an edi
37
58
|Italics, indicated with an italicized **_I_**|CTRL+I|
38
59
|Unordered list||
39
60
|Ordered list||
40
-
|Header style||
61
+
|Paragraph style||
41
62
|Image - add an image available from a public URL.|CTRL+G|
42
63
|Add link to publicly available URL.|CTRL+K|
43
64
|Emoticon - add from a selection of emoticons.|CTRL+E|
44
65
|Advanced menu - undo|CTRL+Z|
45
66
|Avanced menu - redo|CTRL+Y|
46
67
47
-
1.Optionally, add **[alternate phrasing](../Quickstarts/add-question-metadata-portal.md#add-additional-alternatively-phrased-questions)**. Alternate phrasing is any form of the question that is significantly different from the original question but should provide the same answer.
68
+
1.Add an image to the answer using the Image icon in the rich-text toolbar. The in-place editor needs the publicly accessible image URL and the alternate text for the image.
48
69
49
-
When your knowledge base is published, and you have [active learning](use-active-learning.md) turned on, QnA Maker collects alternate phrasing choices for you to accept. These choices are selected in order to increase the prediction accuracy.
50
70
51
-
1. Optionally, add **[metadata](../Quickstarts/add-question-metadata-portal.md#add-metadata-to-filter-the-answers)**. To view metadata, select **View options** in the context menu. Metadata provides filters to the answers that the client application, such as a chat bot, provides.
71
+
> [!div class="mx-imgBorder"]
72
+
> 
52
73
53
-
1. Optionally, add **[follow-up prompts](multiturn-conversation.md)**. Follow-up prompts provide additional conversation paths to the client application to present to the user.
74
+
4. Add a link to a URL by either selecting the text in the answer, then selecting the Link icon in the toolbar or by selecting the Link icon in the toolbar then entering new text and the URL.
54
75
55
-
1. Select **Save and train** to see predictions including the new QnA pair.
0 commit comments