Skip to content

Commit 2519c8b

Browse files
Update get-prediction-url.md fot CTC
1 parent 632c290 commit 2519c8b

File tree

1 file changed

+5
-5
lines changed
  • articles/cognitive-services/language-service/custom-text-classification/includes/language-studio

1 file changed

+5
-5
lines changed

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.

0 commit comments

Comments
 (0)