Spaces:
Runtime error
Runtime error
File size: 2,821 Bytes
a263bf4 | 1 2 3 4 5 6 | <!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>PDF Extractor Documentation</title><link rel="stylesheet" href="guide.css"></head>
<body><a class="skip-link" href="#content">Skip to content</a><header class="topbar"><a class="brand" href="index.html">PDF Extractor <span>Docs</span></a><button class="menu-button" type="button" aria-expanded="false" aria-controls="navigation">Menu</button><button class="theme-button" type="button">Theme</button></header>
<div class="layout"><nav id="navigation" class="navigation" aria-label="Documentation"><a href="index.html">Overview</a><a href="architecture.html">Architecture</a><a href="low-level-design.html">Low-level design</a><a href="dependencies.html">External dependencies</a><a href="api.html">API contract</a><a href="operations.html">Operations and limits</a><a href="setup.html">Local setup</a></nav>
<main id="content"><p class="eyebrow">Version 0.1.0</p><h1>PDF Extractor documentation</h1><p class="lead">This guide describes the current system. Use this guide before you change the system.</p><section><h2>Purpose</h2><p>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.</p></section><section><h2>System boundary</h2><div class="diagram"><code>Browser → FastAPI → SQLite<br> ↓<br> LlamaCloud</code></div><p>FastAPI does not wait for the extraction result during the upload request. LlamaCloud runs the long extraction operation.</p></section><section><h2>Read this guide in this order</h2><div class="card-grid"><a class="card" href="architecture.html"><h3>Architecture</h3><p>Learn the system parts and request flows.</p></a><a class="card" href="low-level-design.html"><h3>Low-level design</h3><p>Learn module responsibilities and patterns.</p></a><a class="card" href="dependencies.html"><h3>Dependencies</h3><p>Learn why each external package exists.</p></a><a class="card" href="api.html"><h3>API contract</h3><p>Learn requests, responses, and errors.</p></a><a class="card" href="operations.html"><h3>Operations</h3><p>Learn limits, safety rules, and next changes.</p></a><a class="card" href="setup.html"><h3>Local setup</h3><p>Install and run the application.</p></a></div></section><section><h2>Important rules</h2><ul><li>Do not expose a LlamaCloud job ID to the browser.</li><li>Do not send a PDF file through a queue message.</li><li>Do not return provider errors without filtering them.</li><li>Do not store API keys in source files.</li><li>Do not add Celery until local background work requires it.</li></ul></section></main></div><script src="guide.js"></script></body></html>
|