EmbeddingResponse

@Serializable
class EmbeddingResponse(val embeddings: List<Embedding>, val usage: Usage)

Create embeddings response.

Constructors

Link copied to clipboard
constructor(embeddings: List<Embedding>, usage: Usage)

Properties

Link copied to clipboard
@SerialName(value = "data")
val embeddings: List<Embedding>

An embedding results.

Link copied to clipboard
@SerialName(value = "usage")
val usage: Usage

Embedding usage data.