Skip to content

Commit 6aa11d9

Browse files
authored
Merge pull request #239573 from Yusuf-Hussein/patch-7
Documentation Bug Fixes for CNER and CTC
2 parents 06e4ea4 + 4bdb38e commit 6aa11d9

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

articles/cognitive-services/language-service/custom-named-entity-recognition/includes/language-studio/get-prediction-url.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ ms.author: aahi
2323

2424
4. Submit the `POST` cURL request in your terminal or command prompt. You'll receive a 202 response with the API results if the request was successful.
2525

26-
5. In the response header you receive extract `{JOB-ID}` from `operation-location`, which has the format: `{ENDPOINT}/text/analytics/v3.2-preview.2/analyze/jobs/<JOB-ID}>`
26+
5. In the response header you receive extract `{JOB-ID}` from `operation-location`, which has the format: `{ENDPOINT}/language/analyze-text/jobs/{JOB-ID}`
2727

2828
6. Back to Language Studio; select **Retrieve** pivot from the same window you got the example request you got earlier and copy the sample request into a text editor.
2929

3030
:::image type="content" source="../../media/get-prediction-url-3.png" alt-text="A screenshot showing the example retrieval request." lightbox="../../media/get-prediction-url-3.png":::
3131

32-
7. Replace `<JOB-ID>` with the `{JOB-ID}` you extracted from the previous step.
32+
7. Replace `<OPERATION-ID>` with the `{JOB-ID}` you extracted from the previous step.
3333

3434
8. Submit the `GET` cURL request in your terminal or command prompt.
152 KB
Loading
97.5 KB
Loading

articles/cognitive-services/language-service/custom-text-classification/includes/language-studio/get-prediction-url.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ ms.author: aahi
1111

1212
1. After the deployment job is completed successfully, select the deployment you want to use and from the top menu click on **Get prediction URL**.
1313

14-
:::image type="content" source="../../media/get-prediction-url-1.png" alt-text="A screenshot showing the button to get the prediction U R L." lightbox="../../media/get-prediction-url-1.png":::
14+
:::image type="content" source="../../media/get-prediction-url-1.png" alt-text="A screenshot showing the button to get the prediction URL." lightbox="../../media/get-prediction-url-1.png":::
1515

1616
2. In the window that appears, under the **Submit** pivot, copy the sample request URL and body into your command line.
1717

1818
3. Replace `<YOUR_DOCUMENT_HERE>` with the actual text you want to extract entities from.
1919

20-
:::image type="content" source="../../media/get-prediction-url-2.png" alt-text="A screenshot showing the prediction U R L and sample J SON request." lightbox="../../media/get-prediction-url-2.png":::
20+
:::image type="content" source="../../media/get-prediction-url-2.png" alt-text="A screenshot showing the prediction URL and sample JSON request." lightbox="../../media/get-prediction-url-2.png":::
2121

2222
4. Submit the `POST` cURL request in your terminal or command prompt. You'll receive a 202 response with the API results if the request was successful.
2323

24-
5. In the response header you receive extract `{JOB-ID}` from `operation-location`, which has the format: `{ENDPOINT}/text/analytics/v3.2-preview.2/analyze/jobs/<JOB-ID}>`
24+
5. In the response header you receive extract `{JOB-ID}` from `operation-location`, which has the format: `{ENDPOINT}/language/analyze-text/jobs/{JOB-ID}`
2525

2626
6. Back to Language Studio; select **Retrieve** pivot from the same window you got the example request you got earlier and copy the sample request into a text editor.
2727

28-
:::image type="content" source="../../media/get-prediction-url-3.png" alt-text="A screenshot showing the button to retrieval U R L." lightbox="../../media/get-prediction-url-3.png":::
28+
:::image type="content" source="../../media/get-prediction-url-3.png" alt-text="A screenshot showing the button to retrieval URL." lightbox="../../media/get-prediction-url-3.png":::
2929

30-
7. Replace `<JOB-ID>` with the `{JOB-ID}` you extracted from the previous step.
30+
7. Replace `<OPERATION-ID>` with the `{JOB-ID}` you extracted from the previous step.
3131

3232
8. Submit the `GET` cURL request in your terminal or command prompt.
150 KB
Loading
97.7 KB
Loading

0 commit comments

Comments
 (0)