import { Batch } from "https://deno.land/x/openai@v4.61.1/resources/batches.ts";
import { type Batch } from "https://deno.land/x/openai@v4.61.1/resources/batches.ts";
Properties
status:
| "validating"
| "failed"
| "in_progress"
| "finalizing"
| "completed"
| "expired"
| "cancelling"
| "cancelled"
The current status of the batch.
optional
errors: Batch.ErrorsThe Unix timestamp (in seconds) for when the batch started processing.
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long.
The ID of the file containing the outputs of successfully executed requests.
optional
request_counts: BatchRequestCountsThe request counts for different statuses within the batch.