An embeddings response generated by a model.

interface EmbeddingResponse {
    data: Embedding[];
    model: string;
    object: string;
    usage?: Usage;
}

Properties

Properties

data: Embedding[]

A list of embedding objects generated by the model.

model: string

The ID of the model used to create the embeddings. The same as the model provided in the request.

object: string

Object type, which is always "list".

usage?: Usage

Usage information for a model request.