langchain.js
    Preparing search index...

    Represents the parameters for configuring the CheerioWebBaseLoader. It extends the WebBaseLoaderParams interface and adds additional parameters specific to loading with Cheerio.

    interface CheerioWebBaseLoaderParams {
        headers?: HeadersInit;
        selector?: SelectorType;
        textDecoder?: TextDecoder;
        timeout?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    headers?: HeadersInit

    The headers to use in the fetch request.

    selector?: SelectorType

    The selector to use to extract the text from the document. Defaults to "body".

    textDecoder?: TextDecoder

    The text decoder to use to decode the response. Defaults to UTF-8.

    timeout?: number

    The timeout in milliseconds for the fetch request. Defaults to 10s.