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

CreateVoyageEmbeddingRequest

model: string

CreateVoyageEmbeddingRequest

input_type?: string

Input type for the embeddings request.