OpenAIEmbeddingRequest

@Serializable
class OpenAIEmbeddingRequest(val model: String, val input: List<String>)

Request to embed text using the OpenAI API.

Constructors

Link copied to clipboard
constructor(model: String, input: List<String>)

Properties

Link copied to clipboard

The list of strings to embed.

Link copied to clipboard

The model to use for embedding.