Interface for the request body to generate embeddings.

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

Properties

input: string | string[]

Text to generate vector expectation

CreateVoyageEmbeddingRequest

input_type?: string

Input type for the embeddings request.

model: string

CreateVoyageEmbeddingRequest