Interface that defines the methods for loading and splitting documents.

interface DocumentLoader {
    load(): Promise<Document<Record<string, any>>[]>;
    loadAndSplit(textSplitter?): Promise<Document<Record<string, any>>[]>;
}

Implemented by

Methods

Generated using TypeDoc