Response from the DeepInfra embeddings API.

interface DeepInfraEmbeddingsResponse {
    embeddings: number[][];
    input_tokens: number;
    request_id?: string;
}

Properties

embeddings: number[][]

The embeddings generated for the input texts.

input_tokens: number

The number of tokens in the input texts.

request_id?: string

The status of the inference.

""