import { Batches } from "https://deno.land/x/openai@v4.53.2/resources/mod.ts";
import { Batches } from "https://deno.land/x/openai@v4.53.2/resources/mod.ts";
Methods
Cancels an in-progress batch. The batch will be in status cancelling
for up to
10 minutes, before changing to cancelled
, where it will have partial results
(if any) available in the output file.
create(body: BatchCreateParams, options?: Core.RequestOptions): Core.APIPromise<Batch>
Creates and executes a batch from an uploaded file of requests
list(query?: BatchListParams, options?: Core.RequestOptions): Core.PagePromise<BatchesPage, Batch>
List your organization's batches.
list(options?: Core.RequestOptions): Core.PagePromise<BatchesPage, Batch>