langchain.js
    Preparing search index...
    interface JinaEmbeddingsParams {
        baseUrl?: string;
        batchSize?: number;
        dimensions?: number;
        model: string;
        normalized?: boolean;
        stripNewLines?: boolean;
        timeout?: number;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    baseUrl?: string
    batchSize?: number

    The maximum number of documents to embed in a single request.

    dimensions?: number

    The dimensions of the embedding.

    model: string

    Model name to use

    normalized?: boolean

    Scales the embedding so its Euclidean (L2) norm becomes 1, preserving direction. Useful when downstream involves dot-product, classification, visualization..

    stripNewLines?: boolean

    Whether to strip new lines from the input text.

    timeout?: number

    Timeout to use when making requests to Jina.