Skip to content

Commit 17cd2cd

Browse files
committed
fixes
1 parent 73f4754 commit 17cd2cd

File tree

4 files changed

+54
-2
lines changed

4 files changed

+54
-2
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
services: cognitive-services
3+
author: aahill
4+
manager: nitinme
5+
ms.service: cognitive-services
6+
ms.subservice: language-service
7+
ms.custom: event-tier1-build-2022
8+
ms.topic: include
9+
ms.date: 05/05/2022
10+
ms.author: aahi
11+
---
12+
13+
1. Go to your resource overview page in the [Azure portal](https://portal.azure.com/#home)
14+
15+
2. From the menu on the left side, select **Keys and Endpoint**. You will use the endpoint and key for the API requests
16+
17+
:::image type="content" source="../../custom-text-classification/media/get-endpoint-azure.png" alt-text="A screenshot showing the key and endpoint page in the Azure portal" lightbox="../../custom-text-classification/media/get-endpoint-azure.png":::
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
author: aahill
3+
manager: nitinme
4+
ms.service: cognitive-services
5+
ms.subservice: language-service
6+
ms.custom: event-tier1-build-2022
7+
ms.topic: include
8+
ms.date: 05/05/2022
9+
ms.author: aahi
10+
---
11+
12+
When you no longer need your project, you can delete it with the following **DELETE** request. Replace the placeholder values with your own values.
13+
14+
```rest
15+
{Endpoint}/language/authoring/analyze-text/projects/{projectName}?api-version={API-VERSION}
16+
```
17+
18+
|Placeholder |Value | Example |
19+
|---------|---------|---------|
20+
|`{ENDPOINT}` | The endpoint for authenticating your API request. | `https://<your-custom-subdomain>.cognitiveservices.azure.com` |
21+
|`{PROJECT-NAME}` | The name for your project. This value is case-sensitive. | `myProject` |
22+
|`{API-VERSION}` | The version of the API you are calling. The value referenced here is for the latest version released. See [Model lifecycle](../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) to learn more about other available API versions. | `2022-05-01` |
23+
24+
### Headers
25+
26+
Use the following header to authenticate your request.
27+
28+
|Key|Value|
29+
|--|--|
30+
|Ocp-Apim-Subscription-Key| The key to your resource. Used for authenticating your API requests.|
31+
32+
33+
Once you send your API request, you will receive a `202` response indicating success, which means your project has been deleted. A successful call results with an Operation-Location header used to check the status of the job.

articles/cognitive-services/language-service/custom-text-analytics-for-health/includes/rest-api/import-project.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ ms.date: 05/05/2022
1010
ms.author: aahi
1111
---
1212

13-
Submit a **POST** request using the following URL, headers, and JSON body to import your labels file. Make sure that your labels file follow the [accepted format](../../concepts/data-formats.md).
13+
Submit a **POST** request using the following URL, headers, and JSON body to import your labels file.
14+
15+
<!--Make sure that your labels file follow the [accepted format](../../concepts/data-formats.md).-->
1416

1517
If a project with the same name already exists, the data of that project is replaced.
1618

articles/cognitive-services/language-service/custom-text-analytics-for-health/includes/rest-api/train-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Submit a **POST** request using the following URL, headers, and JSON body to sub
2020
|---------|---------|---------|
2121
| `{ENDPOINT}` | The endpoint for authenticating your API request. | `https://<your-custom-subdomain>.cognitiveservices.azure.com` |
2222
| `{PROJECT-NAME}` | The name of your project. This value is case-sensitive. | `myProject` |
23-
|`{API-VERSION}` | The version of the API you are calling. The value referenced here is for the latest version released. See [Model lifecycle](../../../concepts/model-lifecycle.md#choose-the-model-version-used-on-your-data) to learn more about other available API versions. | `2022-05-01` |
23+
|`{API-VERSION}` | The version of the API you are calling. The value referenced here is for the latest version released. See [Model lifecycle](../../../concepts/model-lifecycle.md) to learn more about other available API versions. | `2022-05-01` |
2424

2525
#### Headers
2626

0 commit comments

Comments
 (0)