Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openai/resources/batches.ts>BatchRequestCounts

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Latest
interface BatchRequestCounts
import { type BatchRequestCounts } from "https://deno.land/x/openai@v4.52.0/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.