Skip to content

Commit 5e697c3

Browse files
Merge pull request #285440 from jboback/Postman-final
Removed mentions of Postman
2 parents 3503bec + 0e4654e commit 5e697c3

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

articles/ai-services/language-service/text-analytics-for-health/how-to/use-containers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ server {
215215

216216
#### Example Docker compose file
217217

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:
219219

220220
```yaml
221221
version: "3.7"
@@ -262,7 +262,7 @@ Use the host, `http://localhost:5000`, for container APIs.
262262

263263
### Structure the API request for the container
264264

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

267267
[!INCLUDE [Use APIs in container](../includes/container-request.md)]
268268

articles/ai-services/qnamaker/How-To/metadata-generateanswer-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ We offer precise answer feature only with the QnA Maker managed version.
186186

187187
## Next steps
188188

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

191191
> [!div class="nextstepaction"]
192192
> [Get analytics on your knowledge base](../how-to/get-analytics-knowledge-base.md)

articles/ai-services/qnamaker/Quickstarts/add-question-metadata-portal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ If you are not continuing to the next quickstart, delete the QnA Maker and Bot f
111111
## Next steps
112112

113113
> [!div class="nextstepaction"]
114-
> [Get answer with Postman or cURL](get-answer-from-knowledge-base-using-url-tool.md)
114+
> [Get answer with the Visual Studio Code REST Client extension or cURL](get-answer-from-knowledge-base-using-url-tool.md)

articles/ai-services/qnamaker/Quickstarts/get-answer-from-knowledge-base-using-url-tool.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Use URL tool to get answer from knowledge base - QnA Maker
33
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..
55
#services: cognitive-services
66
manager: nitinme
77
ms.author: jboback
@@ -29,9 +29,9 @@ ms.date: 01/19/2024
2929

3030
::: zone-end
3131

32-
::: zone pivot="url-test-tool-postman"
32+
::: zone pivot="url-test-tool-visual-studio-code-rest-client-extension"
3333

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)]
3535

3636
::: zone-end
3737

articles/ai-services/qnamaker/includes/quickstart-test-tool-postman.md renamed to articles/ai-services/qnamaker/includes/quickstart-test-tool-vscode.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ ms.custom: include file
1010
ms.date: 01/19/2024
1111
---
1212

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

1515
## Prerequisites
1616

1717
* You must have
18-
* Latest [**Postman**](https://www.getpostman.com/).
18+
* Latest [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client).
1919
* If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/cognitive-services/) before you begin.
2020

2121
> * 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
2626
> [!NOTE]
2727
> 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.
2828
29-
## Set up Postman for requests
29+
## Set up the Visual Studio Code REST Client extension for requests
3030

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

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

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).
3636

3737
|Name|Setting|Purpose and value|
3838
|--|--|--|
@@ -45,13 +45,13 @@ Use this procedure to configure Postman, then read each subsequent section to co
4545
> [!IMPORTANT]
4646
> 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.
4747
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.
4949

5050
## Use metadata to filter answer
5151

5252
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.
5353

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:
5555

5656
```json
5757
{
@@ -112,7 +112,7 @@ In a previous quickstart, metadata was added to two QnA pairs to distinguish bet
112112

113113
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:
114114

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:
116116

117117
```json
118118
{
@@ -218,7 +218,7 @@ Debug information helps you understand how the returned answer was determined. W
218218

219219
If you want to get an answer from the test knowledge base, use the `isTest` body property.
220220

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:
222222

223223
```json
224224
{
@@ -234,7 +234,7 @@ The JSON response uses the same schema as the published knowledge base query.
234234
235235
## Query for a Chit-chat answer
236236

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:
238238

239239
```json
240240
{
@@ -330,7 +330,7 @@ The JSON response uses the same schema as the published knowledge base query.
330330

331331
You can request a minimum threshold for the answer. If the threshold is not met, the default answer is returned.
332332

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:
334334

335335
```json
336336
{

articles/ai-services/qnamaker/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ landingContent:
5757
linkLists:
5858
- linkListType: get-started
5959
links:
60-
- text: "Quickstart: With Postman or cURL"
60+
- text: "Quickstart: With the Visual Studio Code REST Client extension or cURL"
6161
url: quickstarts/get-answer-from-knowledge-base-using-url-tool.md
6262
- text: "Quickstart: Using SDK and REST API"
6363
url: quickstarts/quickstart-sdk.md

articles/zone-pivot-groups.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ groups:
1818
pivots:
1919
- id: url-test-tool-curl
2020
title: cURL
21-
- id: url-test-tool-postman
22-
title: Postman
21+
- id: url-test-tool-visual-studio-code-rest-client-extension
22+
title: Visual Studio Code REST Client Extension
2323
#Owner: kraigb
2424
- id: python-frameworks-01
2525
title: Web framework

0 commit comments

Comments
 (0)