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.
A document loader for loading data from PDFs.
Example