Running deployment · Invite only
03 / Zelador
Document Expiry Tracking in a Chat Assistant
I designed and built a chat assistant that keeps a small business's documents searchable and tracks when they expire. Someone sends a photo or PDF to a Telegram bot, two independent readers extract the document type, its reference and its dates, a person confirms the reading in the same chat, and a reminder goes out 28 days before the expiry they confirmed. All user-facing text is Brazilian Portuguese and questions are asked in plain language.
- My role
- Product design, full-stack development and on-server document AI
- Skills
- Document AI · Python
Deployed on my own server and used with my own documents. The pilot agency has agreed the data rules, but its own instance in Brazil is not running yet, so no customer results are claimed. The accuracy figures come from made-up sample documents, not from real ones.
Open the Zelador page ↗Workflow & implementation for Zelador
The problem
A small agency holds leases, certificates and insurance policies that each expire on their own date. The dates sit in filing cabinets and email attachments, so a lapse is noticed only once it has already happened.
Two readers, then a person
A photo passes a quality check, then goes to two readers at once: PaddleOCR with a rule parser, and a Qwen3.5-2B model running on the same server that reads the OCR text. Their output is compared field by field and marked as agreeing, conflicting or missing. The summary goes back into the chat for a person to confirm or correct, so nothing is stored on the strength of a machine reading alone.
What I built
Product design and the whole application: the Telegram adapter, a queued core that no messenger detail reaches, the two reading paths and their comparison, confirmation and correction in chat, SQLite storage, daily reminders at 08:00 São Paulo, weekly and month-end email digests, and natural-language search over what has been stored. A read-only scan of the owner's Gmail and Drive feeds the same queue, and a separate flow turns a narrated property walkthrough video into a draft listing page.
Accuracy and privacy
A reproducible report scores both readers against 10 made-up sample documents. Both got the expiry date right on all 10 and agreed on all 46 fields, against the 90% bar I set before building, at 6.9 seconds per photo for OCR and 10.9 for the local model. No photo, sound or video leaves the server: text recognition, the local model, speech transcription and speech output all run on localhost-only ports. Only text tasks may reach a hosted model, and only when the account owner turns that on.