Batches

public final class Batches

Provides methods for managing the batch jobs. Instantiating this class is not required. After instantiating a Client, access methods through `client.batches.methodName(...)` directly.

Constructors

Link copied to clipboard
public void Batches(ApiClient apiClient)

Functions

Link copied to clipboard
public void cancel(String name, CancelBatchJobConfig config)
Cancels a batch job resource.
Link copied to clipboard
Makes an API request to create the batch job.
Link copied to clipboard
Makes an API request to create the batch embeddings job.
Link copied to clipboard
Deletes a batch job resource.
Link copied to clipboard
public BatchJob get(String name, GetBatchJobConfig config)
Gets a batch job resource.
Link copied to clipboard
Makes an API request to list the available batch jobs.