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
↓
LlamaCloudFastAPI does not wait for the extraction result during the upload request. LlamaCloud runs the long extraction operation.
Read this guide in this order
Architecture
Learn the system parts and request flows.
Low-level design
Learn module responsibilities and patterns.
Dependencies
Learn why each external package exists.
API contract
Learn requests, responses, and errors.
Operations
Learn limits, safety rules, and next changes.
Local setup
Install and run the application.
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.