createBatchEmbeddings

suspend fun createBatchEmbeddings(model: String, request: CreateBatchRequest): BatchJob

Creates a batch job for creating embeddings.

Return

The created BatchJob (Operation).

Parameters

model

The model to use for the batch job.

request

The creation request payload.