Skip to main content
Module

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

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

Cancels an in-progress batch.

Parameters

batchId: string
optional
options: Core.RequestOptions

Returns

Core.APIPromise<Batch>