View Source OpenaiEx.Batches (openai_ex v0.6.5)
This module provides an implementation of the OpenAI Batch API. The API reference can be found at https://platform.openai.com/docs/api-reference/batch.
Summary
Functions
Cancels an in-progress batch.
Creates and executes a batch from an uploaded file of requests.
Lists your organization's batches.
Creates a new batch request with the given arguments.
Retrieves a batch.
Functions
Cancels an in-progress batch.
Creates and executes a batch from an uploaded file of requests.
Lists your organization's batches.
Creates a new batch request with the given arguments.
Arguments
args
: A list of key-value pairs, or a map, representing the fields of the batch request.
Returns
A map containing the fields of the batch request.
Retrieves a batch.
https://platform.openai.com/docs/api-reference/batch/retrieve