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

Options for the UnstructuredMemoryLoader.

Type declaration

  • buffer: Buffer

    The buffer containing the file content.

  • filePath: string

    The name of the file when using a buffer.

Type declaration

  • filePath: string | string[]

    The path or list of paths to the file(s).

  • Optionalbuffer?: never