Skip to content

Commit 57f3db8

Browse files
committed
edits from Prakul
1 parent 1e67474 commit 57f3db8

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

articles/cognitive-services/QnAMaker/Concepts/best-practices.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: qna-maker
1010
ms.topic: conceptual
11-
ms.date: 01/10/2020
11+
ms.date: 01/27/2020
1212
ms.author: diberry
1313
ms.custom: seodec18
1414
---
@@ -25,7 +25,7 @@ In general, FAQ pages should be stand-alone and not combined with other informat
2525

2626
### Configuring multi-turn
2727

28-
Create your knowledge base with multi-turn extraction enabled. If your knowledge base does or should support question hierarchy, this hierarchy can be extracted from the document or created after the document is extracted.
28+
[Create your knowledge base](../how-to/multiturn-conversation.md#create-a-multi-turn-conversation-from-a-documents-structure) with multi-turn extraction enabled. If your knowledge base does or should support question hierarchy, this hierarchy can be extracted from the document or created after the document is extracted.
2929

3030
<!--is this a global setting that can only be configured at kb creation time? -->
3131

@@ -46,9 +46,16 @@ Your user may enter questions with either a conversational style of text, `How d
4646

4747
The best answers are simple answers but not too simple. Do not use answers such as `yes` and `no`. If your answer should link to other sources or provide a rich experience with media and links, use [metadata tagging](../how-to/edit-knowledge-base.md#add-metadata) to distinguish between answers, then [submit the query](../how-to/metadata-generateanswer-usage.md#generateanswer-request-configuration) with metadata tags in the `strictFilters` property to get the correct answer version.
4848

49+
|Answer|Follup-up prompts|
50+
|--|--|
51+
|Power down the Surface laptop with the power button on the keyboard.|* Key-combinations to sleep, shut down, and restart.<br>* How to hard-boot a Surface laptop<br>* How to change the BIOS for a Surface laptop<br>* Differences between sleep, shut down and restart|
52+
|Customer service is available via phone, Skype, and text message 24 hours a day.|* Contact information for sales.<br> * Office and store locations and hours for an in-person visit.<br> * Accessories for a Surface laptop.|
53+
4954
## Chit-Chat
5055
Add chit-chat to your bot, to make your bot more conversational and engaging, with low effort. You can easily add chit-chat data sets from pre-defined personalities when creating your KB, and change them at any time. Learn how to [add chit-chat to your KB](../How-To/chit-chat-knowledge-base.md).
5156

57+
Chit-chat is supported in [many languages](../how-to/chit-chat-knowledge-base?branch=pr-en-us-100699#language-support).
58+
5259
### Choosing a personality
5360
Chit-chat is supported for several predefined personalities:
5461

articles/cognitive-services/QnAMaker/Concepts/query-knowledge-base.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The process is explained in the following table.
2525
|2|QnA Maker preprocesses the user query with language detection, spellers, and word breakers.|
2626
|3|This preprocessing is taken to alter the user query for the best search results.|
2727
|4|This altered query is sent to an Azure Cognitive Search Index, which receives the `top` number of results. If the correct answer isn't in these results, increase the value of `top` slightly. Generally, a value of 10 for `top` works in 90% of queries.|
28-
|5QnA Maker uses syntactic and semantic based featurization to determine the similarity between the user query and the fetched QnA results.|
28+
|5|QnA Maker uses syntactic and semantic based featurization to determine the similarity between the user query and the fetched QnA results.|
2929
|6|The machine-learned ranker model uses the different features, from step 5, to determine the confidence scores and the new ranking order.|
3030
|7|The new results are returned to the client application in ranked order.|
3131
|||
@@ -47,8 +47,8 @@ A user query is the question that the end user asks of the knowledge base, such
4747
"scoreThreshold": 20,
4848
"strictFilters": [
4949
{
50-
"name": "feature",
51-
"value": "collaboration"
50+
"name": "QuestionType",
51+
"value": "Support"
5252
}],
5353
"userId": "sd53lsY="
5454
}
@@ -67,20 +67,22 @@ The HTTP response is the answer retrieved from the knowledge base, based on the
6767
"answers": [
6868
{
6969
"questions": [
70-
"What is the closing time?"
70+
"How do I add a collaborator to my app?",
71+
"What access control is provided for the app?",
72+
"How do I find user management and security?"
7173
],
72-
"answer": "10.30 PM",
74+
"answer": "Use the Azure portal to add a collaborator using Access Control (IAM)",
7375
"score": 100,
7476
"id": 1,
7577
"source": "Editorial",
7678
"metadata": [
7779
{
78-
"name": "restaurant",
79-
"value": "Contoso"
80+
"name": "QuestionType",
81+
"value": "Support"
8082
},
8183
{
82-
"name": "location",
83-
"value": "New York"
84+
"name": "ToolDependency",
85+
"value": "Azure Portal"
8486
}
8587
]
8688
}

0 commit comments

Comments
 (0)