Skip to content

Commit 7c4fc70

Browse files
Merge pull request #1221 from laujan/remove-gating-req-from-nds
remove gated preview indicators
2 parents fe7c99a + 45c7144 commit 7c4fc70

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

articles/ai-services/language-service/native-document-support/use-native-documents.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: laujan
66
manager: nitinme
77
ms.service: azure-ai-language
88
ms.topic: how-to
9-
ms.date: 06/20/2024
9+
ms.date: 11/19/2024
1010
ms.author: lajanuar
1111
---
1212

@@ -21,8 +21,6 @@ ms.author: lajanuar
2121

2222
> [!IMPORTANT]
2323
>
24-
> * Native document support is a gated preview. To request access to the native document support feature, complete and submit the [**Apply for access to Language Service previews**](https://aka.ms/gating-native-document) form.
25-
>
2624
> * Azure AI Language public preview releases provide early access to features that are in active development.
2725
> * Features, approaches, and processes may change, prior to General Availability (GA), based on user feedback.
2826
@@ -206,7 +204,7 @@ For this quickstart, you need a **source document** uploaded to your **source co
206204
1. Here's the preliminary structure of the POST request:
207205

208206
```bash
209-
POST {your-language-endpoint}/language/analyze-documents/jobs?api-version=2023-11-15-preview
207+
POST {your-language-endpoint}/language/analyze-documents/jobs?api-version=2024-11-15-preview
210208
```
211209

212210
1. Before you run the **POST** request, replace `{your-language-resource-endpoint}` and `{your-key}` with the values from your Azure portal Language service instance.
@@ -217,21 +215,21 @@ For this quickstart, you need a **source document** uploaded to your **source co
217215
***PowerShell***
218216

219217
```powershell
220-
cmd /c curl "{your-language-resource-endpoint}/language/analyze-documents/jobs?api-version=2023-11-15-preview" -i -X POST --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}" --data "@pii-detection.json"
218+
cmd /c curl "{your-language-resource-endpoint}/language/analyze-documents/jobs?api-version=2024-11-15-preview" -i -X POST --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}" --data "@pii-detection.json"
221219
```
222220
223221
***command prompt / terminal***
224222
225223
```bash
226-
curl -v -X POST "{your-language-resource-endpoint}/language/analyze-documents/jobs?api-version=2023-11-15-preview" --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}" --data "@pii-detection.json"
224+
curl -v -X POST "{your-language-resource-endpoint}/language/analyze-documents/jobs?api-version=2024-11-15-preview" --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}" --data "@pii-detection.json"
227225
```
228226
229227
1. Here's a sample response:
230228
231229
```http
232230
HTTP/1.1 202 Accepted
233231
Content-Length: 0
234-
operation-location: https://{your-language-resource-endpoint}/language/analyze-documents/jobs/f1cc29ff-9738-42ea-afa5-98d2d3cabf94?api-version=2023-11-15-preview
232+
operation-location: https://{your-language-resource-endpoint}/language/analyze-documents/jobs/f1cc29ff-9738-42ea-afa5-98d2d3cabf94?api-version=2024-11-15-preview
235233
apim-request-id: e7d6fa0c-0efd-416a-8b1e-1cd9287f5f81
236234
x-ms-region: West US 2
237235
Date: Thu, 25 Jan 2024 15:12:32 GMT
@@ -250,7 +248,7 @@ You receive a 202 (Success) response that includes a read-only Operation-Locatio
250248
1. Here's the preliminary structure of the **GET** request:
251249

252250
```bash
253-
GET {your-language-endpoint}/language/analyze-documents/jobs/{jobId}?api-version=2023-11-15-preview
251+
GET {your-language-endpoint}/language/analyze-documents/jobs/{jobId}?api-version=2024-11-15-preview
254252
```
255253

256254
1. Before you run the command, make these changes:
@@ -262,11 +260,11 @@ You receive a 202 (Success) response that includes a read-only Operation-Locatio
262260
### Get request
263261

264262
```powershell
265-
cmd /c curl "{your-language-resource-endpoint}/language/analyze-documents/jobs/{jobId}?api-version=2023-11-15-preview" -i -X GET --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}"
263+
cmd /c curl "{your-language-resource-endpoint}/language/analyze-documents/jobs/{jobId}?api-version=2024-11-15-preview" -i -X GET --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}"
266264
```
267265

268266
```bash
269-
curl -v -X GET "{your-language-resource-endpoint}/language/analyze-documents/jobs/{jobId}?api-version=2023-11-15-preview" --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}"
267+
curl -v -X GET "{your-language-resource-endpoint}/language/analyze-documents/jobs/{jobId}?api-version=2024-11-15-preview" --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}"
270268
```
271269

272270
#### Examine the response
@@ -373,21 +371,21 @@ Before you run the **POST** request, replace `{your-language-resource-endpoint}`
373371
***PowerShell***
374372

375373
```powershell
376-
cmd /c curl "{your-language-resource-endpoint}/language/analyze-documents/jobs?api-version=2023-11-15-preview" -i -X POST --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}" --data "@document-summarization.json"
374+
cmd /c curl "{your-language-resource-endpoint}/language/analyze-documents/jobs?api-version=2024-11-15-preview" -i -X POST --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}" --data "@document-summarization.json"
377375
```
378376

379377
***command prompt / terminal***
380378

381379
```bash
382-
curl -v -X POST "{your-language-resource-endpoint}/language/analyze-documents/jobs?api-version=2023-11-15-preview" --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}" --data "@document-summarization.json"
380+
curl -v -X POST "{your-language-resource-endpoint}/language/analyze-documents/jobs?api-version=2024-11-15-preview" --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}" --data "@document-summarization.json"
383381
```
384382

385383
Here's a sample response:
386384

387385
```http
388386
HTTP/1.1 202 Accepted
389387
Content-Length: 0
390-
operation-location: https://{your-language-resource-endpoint}/language/analyze-documents/jobs/f1cc29ff-9738-42ea-afa5-98d2d3cabf94?api-version=2023-11-15-preview
388+
operation-location: https://{your-language-resource-endpoint}/language/analyze-documents/jobs/f1cc29ff-9738-42ea-afa5-98d2d3cabf94?api-version=2024-11-15-preview
391389
apim-request-id: e7d6fa0c-0efd-416a-8b1e-1cd9287f5f81
392390
x-ms-region: West US 2
393391
Date: Thu, 25 Jan 2024 15:12:32 GMT
@@ -405,8 +403,8 @@ You receive a 202 (Success) response that includes a read-only Operation-Locatio
405403

406404
1. Here's the structure of the **GET** request:
407405

408-
```http
409-
GET {cognitive-service-endpoint}/language/analyze-documents/jobs/{jobId}?api-version=2023-11-15-preview
406+
```bash
407+
GET {cognitive-service-endpoint}/language/analyze-documents/jobs/{jobId}?api-version=2024-11-15-preview
410408
```
411409

412410
1. Before you run the command, make these changes:
@@ -418,11 +416,11 @@ You receive a 202 (Success) response that includes a read-only Operation-Locatio
418416
### Get request
419417

420418
```powershell
421-
cmd /c curl "{your-language-resource-endpoint}/language/analyze-documents/jobs/{jobId}?api-version=2023-11-15-preview" -i -X GET --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}"
419+
cmd /c curl "{your-language-resource-endpoint}/language/analyze-documents/jobs/{jobId}?api-version=2024-11-15-preview" -i -X GET --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}"
422420
```
423421

424422
```bash
425-
curl -v -X GET "{your-language-resource-endpoint}/language/analyze-documents/jobs/{jobId}?api-version=2023-11-15-preview" --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}"
423+
curl -v -X GET "{your-language-resource-endpoint}/language/analyze-documents/jobs/{jobId}?api-version=2024-11-15-preview" --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}"
426424
```
427425

428426
#### Examine the response

0 commit comments

Comments
 (0)