langchain.js
    Preparing search index...

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

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

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    apiKey?: string

    The Prem API key to use for requests.

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

    The model to generate the embeddings.

    project_id?: string | number

    The ID of the project to use.