Hierarchy

  • APIResource
    • Batches

Constructors

Methods

Constructors

  • Parameters

    • client: OpenAI

    Returns Batches

Methods

  • Cancels an in-progress batch. The batch will be in status cancelling for up to 10 minutes, before changing to cancelled, where it will have partial results (if any) available in the output file.

    Parameters

    Returns APIPromise<Batch>

  • Creates and executes a batch from an uploaded file of requests

    Parameters

    Returns APIPromise<Batch>

  • Retrieves a batch.

    Parameters

    Returns APIPromise<Batch>