Skip to content

Commit 316b8cd

Browse files
committed
update
1 parent c50ebdc commit 316b8cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/ai-services/openai/includes/batch/batch-rest.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ curl -X POST https://YOUR_RESOURCE_NAME.openai.azure.com/openai/batches?api-vers
173173

174174
## Track batch job progress
175175

176+
<a id="TEST1"></a>
176177

177178
Once you have created batch job successfully you can monitor its progress either in the Studio or programatically. When checking batch job progress we recommend waiting at least 60 seconds in between each status call.
178179

@@ -230,7 +231,7 @@ The following status values are possible:
230231

231232
```http
232233
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/files/{output_file_id}/content?api-version=2024-10-01-preview \
233-
-H "api-key: $AZURE_OPENAI_API_KEY"
234+
-H "api-key: $AZURE_OPENAI_API_KEY" > batch_output.jsonl
234235
```
235236

236237
### Additional batch commands
@@ -255,7 +256,7 @@ curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/batches?api-version=2024
255256

256257
### List batch (Preview)
257258

258-
<a id="list-batch--preview></a>
259+
<a id="TEST"></a>
259260

260261
Use the REST API to list all batch jobs with additional sorting/filtering options.
261262

0 commit comments

Comments
 (0)