Getting Started
Set up document processing
Upload PDFs and scans, extract markdown/JSON with ARVA OCR, then query documents with SAGE models.
- Process a PDF via
POST https://api.sagea.space/v1/ocr/process - Get markdown + bounding boxes + confidence
- Ask questions over the extracted text
Time to complete: ~10 minutes
Prerequisites
- A SAGEA API key in
SAGEA_API_KEY - Python 3.9+ and the
sageaSDK, orcurl - A sample PDF (e.g.
invoice.pdf)
Step 1: Process a document
Response shape:
Step 2: Query the document
Feed the extracted markdown into chat:
Verify
confidence >= 0.9on clean scans; checkblocksfor tables and handwriting regions.- Supported inputs: PDF, PNG, JPG, TIFF, WEBP up to 100 MB.
- Output formats:
markdown,json,text.
