PDF Extractor Docs

Version 0.1.0

PDF Extractor documentation

This guide describes the current system. Use this guide before you change the system.

Purpose

The application accepts one PDF file. It sends the file to LlamaCloud. It gives the browser a local job ID. The browser checks the job status. The application saves the final JSON result in SQLite.

System boundary

Browser → FastAPI → SQLite
↓
LlamaCloud

FastAPI does not wait for the extraction result during the upload request. LlamaCloud runs the long extraction operation.

Read this guide in this order

Important rules

  • Do not expose a LlamaCloud job ID to the browser.
  • Do not send a PDF file through a queue message.
  • Do not return provider errors without filtering them.
  • Do not store API keys in source files.
  • Do not add Celery until local background work requires it.