batchEmbedContents

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

inputJson

The batch embed request payload.