Loads the documents and splits them using a specified text splitter.
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.
Generated using TypeDoc
A class that extends the
BaseDocumentLoader
class. It represents a document loader that loads documents from EPUB files.