langchain.js
    Preparing search index...
    interface ByteDanceDoubaoEmbeddingsParams {
        batchSize?: number;
        model: string;
        stripNewLines?: boolean;
        timeout?: number;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    batchSize?: number

    The maximum number of documents to embed in a single request. This is limited by the ByteDanceDoubao API to a maximum of 2048.

    model: string

    Model name to use

    stripNewLines?: boolean

    Whether to strip new lines from the input text.

    timeout?: number

    Timeout to use when making requests to ByteDanceDoubao.