UnstructuredMemoryLoaderOptions: {
    filePath: string | string[];
    buffer?: never;
} | {
    filePath: string;
    buffer?: Buffer;
}

Options for the UnstructuredMemoryLoader.

Type declaration

  • filePath: string | string[]

    The path to the file, or an array of paths to multiple files.

  • Optionalbuffer?: never

    Buffer can not be defined if passing paths to files.

Type declaration

  • filePath: string

    The name of the file.

  • Optionalbuffer?: Buffer

    The buffer containing the file content.