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