Skip to content

Commit 1f58178

Browse files
committed
update images and text
1 parent bab7db9 commit 1f58178

File tree

5 files changed

+28
-8
lines changed

5 files changed

+28
-8
lines changed

articles/cognitive-services/QnAMaker/How-To/edit-knowledge-base.md

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,31 @@ QnA pairs are added from a datasource, such as a file or URL, or added as an edi
2525
> [!div class="mx-imgBorder"]
2626
> ![Add question and answer to QnA pair](../media/qnamaker-how-to-edit-kb/edit-qna-set-question-and-answer.png)
2727
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+
> ![Screenshot of the rich-text editor with the question and answer of a QnA pair row.](../media/qnamaker-how-to-edit-kb/rich-text-control-qna-pair-row.png)
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.
2950

3051
> [!div class="mx-imgBorder"]
31-
> ![Use the rich-text editor to write and format text and save as markdown.](../media/qnamaker-how-to-edit-kb/rich-text-edit-answer.png)
52+
> ![Use the rich-text editor to write and format text and save as markdown.](../media/qnamaker-how-to-edit-kb/rich-text-display-image.png)
3253
3354
|Rich-text editor features|Keyboard shortcut|
3455
|--|--|
@@ -37,22 +58,21 @@ QnA pairs are added from a datasource, such as a file or URL, or added as an edi
3758
|Italics, indicated with an italicized **_I_**|CTRL+I|
3859
|Unordered list||
3960
|Ordered list||
40-
|Header style||
61+
|Paragraph style||
4162
|Image - add an image available from a public URL.|CTRL+G|
4263
|Add link to publicly available URL.|CTRL+K|
4364
|Emoticon - add from a selection of emoticons.|CTRL+E|
4465
|Advanced menu - undo|CTRL+Z|
4566
|Avanced menu - redo|CTRL+Y|
4667

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.
4869

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.
5070

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+
> ![Use the rich-text editor add a publicly accessible image and its ALT text.](../media/qnamaker-how-to-edit-kb/add-image-url-alternate-text.png)
5273
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.
5475

55-
1. Select **Save and train** to see predictions including the new QnA pair.
5676

5777
## Edit a QnA pair
5878

207 KB
Loading
220 KB
Loading
222 KB
Loading
199 KB
Loading

0 commit comments

Comments
 (0)