batch Embed Contents
fun batchEmbedContents(inputJson: BatchEmbedRequest, model: String = "embedding-001"): BatchEmbedResponse
Embeds contents in batch using the embedding-001 model.
Return
The batch embed response as a BatchEmbedResponse object.
Parameters
input Json
The batch embed request payload.