embedContent

fun embedContent(inputJson: EmbedContentRequest, model: String = "embedding-001"): EmbedResponse

Embeds content using the embedding-001 model.

Return

The embed response as an EmbedResponse object.

Parameters

inputJson

The embed request payload.