Optional
fields: WebBaseLoaderParamsOptional
headersOptional
textOptional
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.
Interface that defines the methods for loading and splitting documents.