Interface for the request body to generate embeddings.

interface CreateVoyageEmbeddingRequest {
    input: string | string[];
    model: string;
    input_type?: string;
}

Properties

input: string | string[]

Text to generate vector expectation

Memberof

CreateVoyageEmbeddingRequest

model: string

Memberof

CreateVoyageEmbeddingRequest

input_type?: string

Input type for the embeddings request.

Generated using TypeDoc