Interface EmbeddingCreateParams

interface EmbeddingCreateParams {
    embd_normalize?: number;
    encoding_format?: "float" | "base64";
    input: EmbeddingInput;
    model?: string;
}

Properties

embd_normalize?: number

Embedding normalization mode: -1 = none, 0 = max absolute int16, 1 = taxicab, 2 = Euclidean/L2 (default), >2 = p-norm.

encoding_format?: "float" | "base64"
model?: string