Interface that defines the methods for loading and splitting documents.

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

Implemented by

Methods

Generated using TypeDoc