Interface for PremEmbeddings parameters. Extends EmbeddingsParams and defines additional parameters specific to the PremEmbeddings class.

interface PremEmbeddingsParams {
    model: string;
    apiKey?: string;
    baseUrl?: string;
    batchSize?: number;
    encoding_format?: "base64" | "float";
    project_id?: string | number;
}

Hierarchy (view full)

Implemented by

Properties

model: string

The model to generate the embeddings.

apiKey?: string

The Prem API key to use for requests.

Default

process.env.PREM_API_KEY
baseUrl?: string
batchSize?: number
encoding_format?: "base64" | "float"
project_id?: string | number

The ID of the project to use.

Generated using TypeDoc