import { Batches } from "https://deno.land/x/openai@v4.47.1/resources/batches.ts";
class Batches
extends APIResource
import { Batches } from "https://deno.land/x/openai@v4.47.1/resources/batches.ts";
Methods
Cancels an in-progress batch.
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>