Skip to main content
Module

x/openai/resources/batches.ts>BatchRequestCounts

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface BatchRequestCounts
import { type BatchRequestCounts } from "https://deno.land/x/openai@v4.38.5/resources/batches.ts";

The request counts for different statuses within the batch.

Properties

completed: number

Number of requests that have been completed successfully.

failed: number

Number of requests that have failed.

total: number

Total number of requests in the batch.