Skip to content

Commit 8ed2cba

Browse files
committed
edits
1 parent e131790 commit 8ed2cba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/cognitive-services/QnAMaker/Concepts/confidence-score.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,11 @@ When choosing your threshold, keep in mind the balance between Accuracy and Cove
5151
> [!NOTE]
5252
> Newer versions of QnA Maker include improvements to scoring logic, and could affect your threshold. Any time you update the service, make sure to test and tweak the threshold if necessary. You can check your QnA Service version [here](https://www.qnamaker.ai/UserSettings), and see how to get the latest updates [here](../How-To/troubleshooting-runtime.md).
5353
54-
## Set threshold in GenerateAnswer API JSON body
54+
## Set threshold
5555

56-
Set the threshold score as a property of the [GenerateAnswer API JSON body](../how-to/metadata-generateanswer-usage.md#generateanswer-request-configuration). This means you can set it for each call to GenerateAnswer.
56+
Set the threshold score as a property of the [GenerateAnswer API JSON body](../how-to/metadata-generateanswer-usage.md#generateanswer-request-configuration). This means you set it for each call to GenerateAnswer.
57+
58+
From the bot framework, set the score as part of the options object with [C#](../how-to/metadata-generateanswer-usage.md?#use-qna-maker-with-a-bot-in-c) or [Node.js](metadata-generateanswer-usage.md?#use-qna-maker-with-a-bot-in-nodejs).
5759

5860
## Improve confidence scores
5961
To improve the confidence score of a particular response to a user query, you can add the user query to the knowledge base as an alternate question on that response. You can also use case-insensitive [word alterations](https://docs.microsoft.com/rest/api/cognitiveservices/qnamaker/alterations/replace) to add synonyms to keywords in your KB.

0 commit comments

Comments
 (0)