Sparrow
ActiveDescription
Sparrow is a structured data extraction tool that supports instruction calling with ML, LLM, and Vision LLM for extracting structured information from documents, suitable for document parsing in RAG pipelines.
Key Features
- Extract structured data from invoices, receipts, statements, forms and tables
- Pluggable architecture mixing Vision LLM, Text LLM, and Agent pipelines
- Multiple backends: MLX (Apple Silicon), vLLM (NVIDIA), Ollama, Hugging Face
- JSON Schema-based automatic validation ensures extraction results meet expected structure
- RESTful API-first design for easy integration into any backend or data pipeline
- Built-in multi-step agent workflow orchestration and visual monitoring dashboard
Use Cases
Strengths & Limitations
✅ Strengths
- • Actively maintained, recent updates
- • High community interest (5.2k stars)
- • Established track record (4 years in production)
- • Responsive to issues, low backlog
⚠️ Limitations
- • Restrictive license (GPL-3.0)
Categories
Quick Start
Install Python 3.12.10+, clone the repo, and cd into sparrow-ml/llm. Install requirements_sparrow_parse.txt. macOS users need brew install poppler first. Start the API server, then use sparrow.sh with a JSON Schema and document path to extract structured data.