langchain.js
    Preparing search index...

    Interface that extends EmbeddingsParams and defines additional parameters specific to the ZhipuAIEmbeddingsParams class.

    interface ZhipuAIEmbeddingsParams {
        apiKey?: string;
        modelName?: "embedding-2";
        stripNewLines?: boolean;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    apiKey?: string

    ZhipuAI API key to use

    modelName?: "embedding-2"

    Model Name to use

    stripNewLines?: boolean

    Whether to strip new lines from the input text.