You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/batch.md
-65Lines changed: 0 additions & 65 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,71 +157,6 @@ Yes. Similar to other deployment types, you can create content filters and assoc
157
157
158
158
Yes, from the quota page in the Studio UI. Default quota allocation can be found in the [quota and limits article](../quotas-limits.md#global-batch-quota).
159
159
160
-
### How do I tell how many tokens my batch request contains, and how many tokens are available as quota?
161
-
162
-
The `2024-10-01-preview` REST API adds two new response headers:
163
-
164
-
*`deployment-enqueued-tokens` - A approximate token count for your jsonl file calculated immediately after the batch request is submitted. This value represents an estimate based on the number of characters and is not the true token count.
165
-
*`deployment-maximum-enqueued-tokens` The total available enqueued tokens available for this global batch model deployment.
166
-
167
-
These response headers are only available when making a POST request to begin batch processing of a file with the REST API. The language specific client libraries do not currently return these new response headers. To return all response headers you can add `-i` to the standard REST request.
168
-
169
-
```http
170
-
curl -i -X POST https://YOUR_RESOURCE_NAME.openai.azure.com/openai/batches?api-version=2024-10-01-preview \
### What happens if the API doesn't complete my request within the 24 hour time frame?
226
161
227
162
We aim to process these requests within 24 hours; we don't expire the jobs that take longer. You can cancel the job anytime. When you cancel the job, any remaining work is cancelled and any already completed work is returned. You'll be charged for any completed work.
0 commit comments