agentskit.js

loadPdf

Auto-generated API reference for loadPdf.

Function: loadPdf()

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

Defined in: loaders.ts:433

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