A document loader for loading data from PDFs.
const loader = new WebPDFLoader(new Blob());const docs = await loader.load();console.log({ docs }); Copy
const loader = new WebPDFLoader(new Blob());const docs = await loader.load();console.log({ docs });
Protected
Loads the contents of the PDF as documents.
An array of Documents representing the retrieved data.
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.
Generated using TypeDoc
A document loader for loading data from PDFs.
Example