A Rust service running on Gemini 2.5 Flash via Vertex AI.
Input: PDF/JPEG of any business document - invoices, contracts, certificates,
forms, or vehicle documents (production case study). Output: structured JSON -
required fields, a confidence score per field, and a source citation
from the original text for every extracted value.
Maintenance invoices / receipts
- Vehicle number
- Event date and price
- Mileage and work description
- Event type classification
Licenses / insurance / inspection
- Document type
- Start and expiry dates
- Tire size, permitted weight
- Initial registration date
Anti-hallucination. The prompt requires the model to cite the original text
for every returned value. When a document is unreadable, the field returns
{"status": "unreadable"}
instead of a guess. A manual correction interface is available for any output where the confidence score is low.
The service is also available as a standalone product for other offices -
AI Docs page →