create
suspend fun create(model: String, src: BatchJobSource, config: CreateBatchJobConfig? = null): BatchJob
Makes an API request to create the batch job.
Return
A BatchJob.
Parameters
model
the name of the GenAI model to use for generation
src
The BatchJobSource of the batch job.
config
The configuration CreateBatchJobConfig for the batch job.