Skip to main content

Ejemplos

Upload form with progress bar

upload.component.ts

PDF large with page range

Combine it with pdfIndex to know what range to order without downloading the entire PDF client-side.

PDF explorer for RAG (index + section selection)

pdf-explorer.component.ts
This flow avoids converting the entire PDF when the user only wants to navigate a section. See PDF Index for AI agents.

Convert multiple files with forkJoin

Reactive form with size vavalidation before upload

Vavalidating the size in the client before uploading avoids spending API quota on documents that will return 413 anyway. See Limits.