Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/mod.ts>Batches#create

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
method Batches.prototype.create
import { Batches } from "https://deno.land/x/openai@v4.51.0/resources/mod.ts";

Creates and executes a batch from an uploaded file of requests

Parameters

optional
options: Core.RequestOptions

Returns

Core.APIPromise<Batch>