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§

Source§

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"

Source§

readonly binaryMode?: "allInputData" | "specificField"

Default: "allInputData"

Source§

readonly dataType?: "json" | "binary"

Default: "json"

Source§

readonly jsonData?: string

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

Source§

readonly jsonMode?: "allInputData" | "expressionData"

Default: "allInputData"

Source§

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

Default: "auto"

Source§

readonly options?: {
    column?: string;
    metadata?: {
        metadataValues: { name: string; value?: string }[];
    };
    pointers?: string;
    separator?: string;
    splitPages?: boolean;
}

Default: {}

Source§

readonly textSplittingMode?: "custom" | "simple"

Default: "simple"