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/ai-services/language-service/text-analytics-for-health/how-to/use-containers.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -215,7 +215,7 @@ server {
215
215
216
216
#### Example Docker compose file
217
217
218
-
The below example shows how a [docker compose](https://docs.docker.com/compose/reference/overview) file can be created to deploy NGINX and health containers:
218
+
The below example shows how a [docker compose](https://docs.docker.com/reference/cli/docker/compose/) file can be created to deploy NGINX and health containers:
219
219
220
220
```yaml
221
221
version: "3.7"
@@ -262,7 +262,7 @@ Use the host, `http://localhost:5000`, for container APIs.
262
262
263
263
### Structure the API request for the container
264
264
265
-
You can use Postman or the example cURL request below to submit a query to the container you deployed, replacing the `serverURL` variable with the appropriate value. Note the version of the API in the URL for the container is different than the hosted API.
265
+
You can use the [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) or the example cURL request below to submit a query to the container you deployed, replacing the `serverURL` variable with the appropriate value. Note the version of the API in the URL for the container is different than the hosted API.
266
266
267
267
[!INCLUDE [Use APIs in container](../includes/container-request.md)]
Copy file name to clipboardExpand all lines: articles/ai-services/qnamaker/How-To/metadata-generateanswer-usage.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,7 +186,7 @@ We offer precise answer feature only with the QnA Maker managed version.
186
186
187
187
## Next steps
188
188
189
-
The **Publish** page also provides information to [generate an answer](../quickstarts/get-answer-from-knowledge-base-using-url-tool.md) with Postman or cURL.
189
+
The **Publish** page also provides information to [generate an answer](../quickstarts/get-answer-from-knowledge-base-using-url-tool.md) with the [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) or cURL.
190
190
191
191
> [!div class="nextstepaction"]
192
192
> [Get analytics on your knowledge base](../how-to/get-analytics-knowledge-base.md)
Copy file name to clipboardExpand all lines: articles/ai-services/qnamaker/Quickstarts/get-answer-from-knowledge-base-using-url-tool.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Use URL tool to get answer from knowledge base - QnA Maker
3
3
titleSuffix: Azure AI services
4
-
description: This article walks you through getting an answer from your knowledge base using a URL test tool such as cURL or Postman.
4
+
description: This article walks you through getting an answer from your knowledge base using a URL test tool such as cURL or the Visual Studio Code REST Client extension..
5
5
#services: cognitive-services
6
6
manager: nitinme
7
7
ms.author: jboback
@@ -29,9 +29,9 @@ ms.date: 01/19/2024
29
29
30
30
::: zone-end
31
31
32
-
::: zone pivot="url-test-tool-postman"
32
+
::: zone pivot="url-test-tool-visual-studio-code-rest-client-extension"
33
33
34
-
[!INCLUDE [Get answer using Postman](../includes/quickstart-test-tool-Postman.md)]
34
+
[!INCLUDE [Get answer using the Visual Studio Code REST Client extension](../includes/quickstart-test-tool-vscode.md)]
Copy file name to clipboardExpand all lines: articles/ai-services/qnamaker/includes/quickstart-test-tool-vscode.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,12 @@ ms.custom: include file
10
10
ms.date: 01/19/2024
11
11
---
12
12
13
-
This Postman-based quickstart walks you through getting an answer from your knowledge base.
13
+
This [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client)-based quickstart walks you through getting an answer from your knowledge base.
* Latest [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client).
19
19
* If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/cognitive-services/) before you begin.
20
20
21
21
> * A [QnA Maker resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesQnAMaker) created in the Azure portal. Remember your Microsoft Entra ID, Subscription, QnA resource name you selected when you created the resource.
@@ -26,13 +26,13 @@ This Postman-based quickstart walks you through getting an answer from your know
26
26
> [!NOTE]
27
27
> When you are ready to generate an answer to a question from your knowledge base, you must [train](../quickstarts/create-publish-knowledge-base.md#save-and-train) and [publish](../quickstarts/create-publish-knowledge-base.md#publish-the-knowledge-base) your knowledge base. When your knowledge base is published, the **Publish** page displays the HTTP request settings to generate an answer. The **Postman** tab shows the settings required to generate an answer.
28
28
29
-
## Set up Postman for requests
29
+
## Set up the Visual Studio Code REST Client extension for requests
30
30
31
-
This quickstart uses the same settings for the Postman**POST** request then configures to POST body JSON sent to the service based on what you are trying to query for.
31
+
This quickstart uses the same settings for the [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client)**POST** request then configures to POST body JSON sent to the service based on what you are trying to query for.
32
32
33
-
Use this procedure to configure Postman, then read each subsequent section to configure the POST body JSON.
33
+
Use this procedure to configure the [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client), then read each subsequent section to configure the POST body JSON.
34
34
35
-
1. From the knowledge base's **Settings** page, select the **Postman** tab to see the configuration used to generate an answer from the knowledge base. Copy the following information to use in Postman.
35
+
1. From the knowledge base's **Settings** page, select the **Postman** tab to see the configuration used to generate an answer from the knowledge base. Copy the following information to use in the [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client).
36
36
37
37
|Name|Setting|Purpose and value|
38
38
|--|--|--|
@@ -45,13 +45,13 @@ Use this procedure to configure Postman, then read each subsequent section to co
45
45
> [!IMPORTANT]
46
46
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](/azure/key-vault/general/overview). See the Azure AI services [security](../../security-features.md) article for more information.
47
47
48
-
1.Open Postman and create a new basic **POST** request with your published knowledge base settings. In the following sections, alter the POST body JSON to change the query to your knowledge base.
48
+
1.Use the [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) to create a new basic **POST** request with your published knowledge base settings. In the following sections, alter the POST body JSON to change the query to your knowledge base.
49
49
50
50
## Use metadata to filter answer
51
51
52
52
In a previous quickstart, metadata was added to two QnA pairs to distinguish between two different questions. Add the metadata to the query to restrict the filter to just the relevant QnA pair.
53
53
54
-
1. In Postman, change only the query JSON by adding the `strictFilters` property with the name/value pair of `service:qna_maker`. The body JSON should be:
54
+
1. In the [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client), change only the query JSON by adding the `strictFilters` property with the name/value pair of `service:qna_maker`. The body JSON should be:
55
55
56
56
```json
57
57
{
@@ -112,7 +112,7 @@ In a previous quickstart, metadata was added to two QnA pairs to distinguish bet
112
112
113
113
Debug information helps you understand how the returned answer was determined. While it is helpful, it is not necessary. To generate an answer with debug information, add the `debug` property:
114
114
115
-
1. In Postman, change only the body JSON by adding the `debug` property. The JSON should be:
115
+
1. In the [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client), change only the body JSON by adding the `debug` property. The JSON should be:
116
116
117
117
```json
118
118
{
@@ -218,7 +218,7 @@ Debug information helps you understand how the returned answer was determined. W
218
218
219
219
If you want to get an answer from the test knowledge base, use the `isTest` body property.
220
220
221
-
In Postman, change only the body JSON by adding the `isTest` property. The JSON should be:
221
+
In the [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client), change only the body JSON by adding the `isTest` property. The JSON should be:
222
222
223
223
```json
224
224
{
@@ -234,7 +234,7 @@ The JSON response uses the same schema as the published knowledge base query.
234
234
235
235
## Query for a Chit-chat answer
236
236
237
-
1. In Postman, change only the body JSON to a conversation-ending statement from the user. The JSON should be:
237
+
1. In the [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client), change only the body JSON to a conversation-ending statement from the user. The JSON should be:
238
238
239
239
```json
240
240
{
@@ -330,7 +330,7 @@ The JSON response uses the same schema as the published knowledge base query.
330
330
331
331
You can request a minimum threshold for the answer. If the threshold is not met, the default answer is returned.
332
332
333
-
1. In Postman, change only the body JSON to a conversation-ending statement from the user. The JSON should be:
333
+
1. In the [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client), change only the body JSON to a conversation-ending statement from the user. The JSON should be:
0 commit comments