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.

Type declaration

  • embedding: number[]
  • index: number
detail?: string

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

Generated using TypeDoc