Optional
splitter: BaseDocumentTransformer<DocumentInterface<Record<string, any>>[], DocumentInterface<Record<string, any>>[]>A Promise that resolves with an array of Document instances, each split according to the provided TextSplitter.
Protected
parseA protected method that takes an EPUB object as a parameter and returns a promise that resolves to an array of objects representing the content and metadata of each chapter.
The EPUB object to parse.
A promise that resolves to an array of objects representing the content and metadata of each chapter.
A class that extends the
BaseDocumentLoader
class. It represents a document loader that loads documents from EPUB files.