Response from the Jina embeddings API.

interface JinaEmbeddingsResponse {
    data: {
        embedding: number[];
        index: number;
    }[];
    detail?: string;
}

Properties

Properties

data: {
    embedding: number[];
    index: number;
}[]

The embeddings generated for the input texts.

detail?: string

The detail of the response e.g usage, model used etc.