Interface DocumentBinaryInputLoaderNodeParameters

Source
interface DocumentBinaryInputLoaderNodeParameters {
    binaryDataKey?: string;
    column?: string;
    loader?:
        | "csvLoader"
        | "docxLoader"
        | "epubLoader"
        | "jsonLoader"
        | "pdfLoader"
        | "textLoader";
    options?: {
        metadata?: {
            metadataValues: { name: string; value?: string }[];
        };
    };
    pointers?: string;
    separator?: string;
    splitPages?: boolean;
}

Properties§

Source§

readonly binaryDataKey?: string

Name of the binary property from which to read the file buffer Default: "data"

Source§

readonly column?: string

Column to extract from CSV

Source§

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

Default: "jsonLoader"

Source§

readonly options?: {
    metadata?: {
        metadataValues: { name: string; value?: string }[];
    };
}

Default: {}

Source§

readonly pointers?: string

Pointers to extract from JSON, e.g. "/text" or "/text, /meta/title"

Source§

readonly separator?: string

Separator to use for CSV Default: ","

Source§

readonly splitPages?: boolean

Default: true