Batches
class Batches
Functions
Link copied to clipboard
Cancels a batch job. Only available for batch jobs that are running or pending.
Link copied to clipboard
suspend fun create(model: String, src: BatchJobSource, config: CreateBatchJobConfig? = null): BatchJob
Makes an API request to create the batch job.
Link copied to clipboard
suspend fun createEmbeddings(model: String, src: EmbeddingsBatchJobSource, config: CreateEmbeddingsBatchJobConfig? = null): BatchJob
Makes an API request to create the batch embeddings job.
Link copied to clipboard
Deletes a batch job.
Link copied to clipboard
Gets a batch job.
Link copied to clipboard
Makes an API request to list batchJobs.