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/metadata-generateanswer-usage.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ You use the [GenerateAnswer API](https://docs.microsoft.com/rest/api/cognitivese
36
36
37
37
<aname="generateanswer-endpoint"></a>
38
38
39
-
## Publish to get GenerateAnswer endpoint
39
+
## Publish to get GenerateAnswer endpoint
40
40
41
41
After you publish your knowledge base, either from the [QnA Maker portal](https://www.qnamaker.ai), or by using the [API](https://docs.microsoft.com/rest/api/cognitiveservices/qnamaker/knowledgebase/publish), you can get the details of your GenerateAnswer endpoint.
42
42
@@ -54,15 +54,15 @@ You can also get your endpoint details from the **Settings** tab of your knowled
54
54
55
55
## GenerateAnswer request configuration
56
56
57
-
You call GenerateAnswer with an HTTP POST request. For sample code that shows how to call GenerateAnswer, see the [quickstarts](../quickstarts/create-publish-kb-csharp-sdk.md#generate-an-answer-from-the-knowledge-base).
57
+
You call GenerateAnswer with an HTTP POST request. For sample code that shows how to call GenerateAnswer, see the [quickstarts](../quickstarts/quickstart-sdk.md#generate-an-answer-from-the-knowledge-base).
The previous JSON requested only answers that are at 30% or above the threshold score.
142
+
The previous JSON requested only answers that are at 30% or above the threshold score.
143
143
144
144
The Support bot has [an example](https://github.com/microsoft/BotBuilder-Samples/blob/master/experimental/qnamaker-support/csharp_dotnetcore/Service/SupportBotService.cs#L418) with this code.
145
145
@@ -159,7 +159,7 @@ var qnaMakerOptions = {
159
159
var qnaResults =awaitthis.qnaMaker.getAnswers(stepContext.context, qnaMakerOptions);
160
160
```
161
161
162
-
The previous JSON requested only answers that are at 30% or above the threshold score.
162
+
The previous JSON requested only answers that are at 30% or above the threshold score.
163
163
164
164
The Support bot has [an example](https://github.com/microsoft/BotBuilder-Samples/blob/master/experimental/qnamaker-activelearning/javascript_nodejs/Helpers/dialogHelper.js#L36) with this code.
165
165
@@ -195,7 +195,7 @@ Because results are required only for the restaurant "Paradise", you can set a f
195
195
196
196
## Use question and answer results to keep conversation context
197
197
198
-
The response to the GenerateAnswer contains the corresponding metadata information of the matched question and answer set. You can use this information in your client application to store the context of the previous conversation for use in later conversations.
198
+
The response to the GenerateAnswer contains the corresponding metadata information of the matched question and answer set. You can use this information in your client application to store the context of the previous conversation for use in later conversations.
title: "Quickstart: Use SDK to create and manage knowledge base - QnA Maker"
3
+
description: This quickstart shows you how to create and manage your knowledge base using the client SDK.
4
+
ms.topic: quickstart
5
+
ms.date: 01/13/2020
6
+
zone_pivot_groups: programming-languages-set-six
7
+
---
8
+
9
+
# Quickstart: Create and manage knowledge base
10
+
11
+
Get started with the QnA Maker client library. Follow these steps to install the package and try out the example code for basic tasks. QnA Maker enables you to power a question-and-answer service from your semi-structured content like FAQ documents, URLs, and product manuals.
12
+
13
+
::: zone pivot="programming-language-csharp"
14
+
[!INCLUDE [Get intent with C# and REST](../includes/quickstart-sdk-csharp.md)]
15
+
::: zone-end
16
+
17
+
::: zone pivot="programming-language-python"
18
+
[!INCLUDE [Get intent with Python and REST](../includes/quickstart-sdk-python.md)]
19
+
::: zone-end
20
+
21
+
::: zone pivot="programming-language-nodejs"
22
+
[!INCLUDE [Get intent with Node.js and REST](../includes/quickstart-sdk-nodejs.md)]
23
+
::: zone-end
24
+
25
+
## Next steps
26
+
27
+
> [!div class="nextstepaction"]
28
+
>[Tutorial: Create and answer a KB](../tutorials/create-publish-query-in-portal.md)
29
+
30
+
*[What is the QnA Maker API?](../Overview/overview.md)
31
+
*[Edit a knowledge base](../how-to/edit-knowledge-base.md)
Copy file name to clipboardExpand all lines: articles/cognitive-services/QnAMaker/includes/quickstart-sdk-csharp.md
+3-24Lines changed: 3 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,9 @@
1
1
---
2
2
title: "Quickstart: QnA Maker client library for .NET"
3
-
titleSuffix: Azure Cognitive Services
4
3
description: This quickstart shows how to get started with the QnA Maker client library for .NET. Follow these steps to install the package and try out the example code for basic tasks. QnA Maker enables you to power a question-and-answer service from your semi-structured content like FAQ documents, URLs, and product manuals.
5
-
services: cognitive-services
6
-
author: diberry
7
-
manager: nitinme
8
-
ms.service: cognitive-services
9
-
ms.subservice: qna-maker
10
4
ms.topic: quickstart
11
-
ms.date: 12/16/2019
12
-
ms.author: diberry
5
+
ms.date: 01/13/2020
13
6
---
14
-
15
-
# Quickstart: QnA Maker client library for .NET
16
-
17
-
Get started with the QnA Maker client library for .NET. Follow these steps to install the package and try out the example code for basic tasks. QnA Maker enables you to power a question-and-answer service from your semi-structured content like FAQ documents, URLs, and product manuals.
18
-
19
7
Use the QnA Maker client library for .NET to:
20
8
21
9
* Create a knowledge base
@@ -112,7 +100,7 @@ Next, create an [ApiKeyServiceClientCredentials](https://docs.microsoft.com/dotn
112
100
113
101
|Environment variable|variable|Example|
114
102
|--|--|--|
115
-
|`QNAMAKER_SUBSCRIPTION_KEY`|`subscription_key`|The key is a 32 character string and is available in the Azure portal, on the QnA Maker resource, on the Quick start page. This is not the same as the prediction endpoint key.|
103
+
|`QNAMAKER_SUBSCRIPTION_KEY`|`subscription_key`|The key is a 32 character string and is available in the Azure portal, on the QnA Maker resource, on the Quickstart page. This is not the same as the prediction endpoint key.|
116
104
|`QNAMAKER_HOST`|`Endpoint`| Your authoring endpoint, in the format of `https://YOUR-RESOURCE-NAME.cognitiveservices.azure.com`, includes your **resource name**. This is not the same URL used to query the prediction endpoint.|
117
105
||||
118
106
@@ -203,13 +191,4 @@ The [source code for this quickstart](https://github.com/Azure-Samples/cognitive
203
191
If you want to clean up and remove a Cognitive Services subscription, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it.
0 commit comments