agentskit.js

loadPdf

Auto-generated API reference for loadPdf.

Function: loadPdf()

loadPdf(url, options): Promise<InputDocument[]>

Defined in: loaders.ts:171

PDF loader — parser is BYO so native deps stay out of the bundle. Fetch bytes at url, hand to parsePdf, wrap in InputDocument.

#Parameters

#url

string

#options

PdfLoaderOptions

#Returns

Promise<InputDocument[]>

Explore nearby

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page