EmbeddingsResponse
data class EmbeddingsResponse(val embeddings: List<List<Float>>, val model: String, val createdAt: Instant, val totalDuration: Long? = null, val loadDuration: Long? = null, val promptEvalCount: Int? = null, val promptEvalDuration: Long? = null)(source)
Represents a response from the embeddings endpoint.
Constructors
Properties
Link copied to clipboard
Timestamp when the response was created
Link copied to clipboard
The generated embedding vectors
Link copied to clipboard
Time spent loading the model (in nanoseconds)
Link copied to clipboard
Number of tokens in the prompt
Link copied to clipboard
Time spent evaluating the prompt (in nanoseconds)
Link copied to clipboard
Time spent generating the embeddings (in nanoseconds)