Interface DocumentDefaultDataLoaderNodeParameters

Source
interface DocumentDefaultDataLoaderNodeParameters {
    binaryDataKey?: string;
    binaryMode?: "allInputData" | "specificField";
    dataType?: "json" | "binary";
    jsonData?: string;
    jsonMode?: "allInputData" | "expressionData";
    loader?:
        | "auto"
        | "csvLoader"
        | "docxLoader"
        | "epubLoader"
        | "jsonLoader"
        | "pdfLoader"
        | "textLoader";
    options?: {
        column?: string;
        metadata?: {
            metadataValues: { name: string; value?: string }[];
        };
        pointers?: string;
        separator?: string;
        splitPages?: boolean;
    };
    textSplittingMode?: "custom"
    | "simple";
}

Properties§

§readonly binaryDataKey?: string

The name of the field in the agent or chain’s input that contains the binary file to be processed Default: "data"

§readonly binaryMode?: "allInputData" | "specificField"

Default: "allInputData"

§readonly dataType?: "json" | "binary"

Default: "json"

§readonly jsonData?: string

Drag and drop fields from the input pane, or use an expression Type options: {"rows":6}

§readonly jsonMode?: "allInputData" | "expressionData"

Default: "allInputData"

§readonly loader?:
    | "auto"
    | "csvLoader"
    | "docxLoader"
    | "epubLoader"
    | "jsonLoader"
    | "pdfLoader"
    | "textLoader"

Default: "auto"

§readonly options?: { ... }

Default: {}

§readonly textSplittingMode?: "custom" | "simple"

Default: "simple"