DocPilot
Navigate Government Forms With AI
The problem DocPilot solves
Every year, 500+ million Indians waste 2-3 hours per form across 100+ government portals (scholarships, licenses, passports, loans). One small mistake rejects the entire application, costing applicants months of re-work and lost opportunities.
Challenges we ran into
The biggest hurdle was achieving accurate OCR text extraction from government documents using Tesseract.js. Many users uploaded low-quality scans or photos with poor lighting, causing the AI to misread form fields and provide incorrect guidance. I solved this by implementing image preprocessing and adding clear upload guidelines. Another challenge was managing API rate limits with Groq - during testing, multiple rapid requests would fail. I implemented a request queue system and added loading indicators to improve the user experience. Finally, maintaining conversation context proved tricky; the AI would forget earlier parts of multi-step form discussions. I resolved this by building a conversation history array that stores the entire dialogue, allowing the AI to reference previous questions and uploaded documents throughout the session.
Tracks Applied (1)
Best Innovation
Technologies used
