Built at Hackville 2026
Clarify is a document-aware web application that helps Canadians understand complex government and legal forms in plain language. Instead of relying on generic AI summaries, Clarify uses retrieval-augmented generation (RAG) to ensure every response is grounded directly in the uploaded document.
Public services often fail not because they are unavailable, but because they are difficult to understand. Canadian government and legal forms are frequently long, dense, and written in institutional language that assumes prior knowledge most people do not have.
Clarify addresses this gap by turning static PDFs into interactive, understandable documents. Users upload a form and ask questions in plain language, receiving clear explanations sourced strictly from the document itself. This reduces misinterpretation, builds trust, and lowers the cognitive barrier to accessing essential services.
Clarify is designed as a gov-tech accessibility tool, not a generic chatbot.
-
๐ Document Upload & Parsing
Upload government or legal PDFs and convert them into structured, searchable content. -
๐ง RAG-Powered Chatbot
Ask questions about a form and receive responses grounded directly in the document. -
๐๏ธ Highlight-to-Explain
Select specific sections of text to receive simplified explanations. -
๐จ๐ฆ Canada-Focused
Designed specifically for Canadian government and legal workflows. -
โฟ Accessibility-First Design
Reduced cognitive load, plain language, and clarity prioritized over verbosity. -
๐ Dark Mode & Responsive UI
Fully usable across devices and lighting conditions.
Canadians frequently struggle with essential forms due to:
- Dense legal and bureaucratic language
- Long, unstructured PDF documents
- Ambiguous terminology and unclear requirements
- Fear of making irreversible mistakes
- Lack of accessible, trustworthy explanations
These barriers disproportionately affect newcomers, students, low-income individuals, and anyone unfamiliar with legal or governmental processes.
Using a standard chatbot for legal or government forms is risky. Hallucinated or incorrect information can have real consequences.
Clarify uses RAG to prioritize accuracy and trust:
- Responses are generated only after retrieving relevant document sections
- The LLM is constrained to the uploaded formโs content
- Reduces hallucinations and unsupported claims
- Improves transparency and explainability
This makes Clarify suitable for high-stakes contexts where correctness matters more than creativity.
Frontend
- Next.js
- React.js
- TypeScript
- Tailwind CSS
- Zustand (state management)
- Lucide-React (icons)
Backend
- Node.js
- Express.js
- TypeScript
AI & Document Intelligence
- Retrieval-Augmented Generation (RAG)
- Vector embeddings for semantic document search
Database
- MongoDB Atlas
- MongoDB Vector Search
- Mongoose
- User uploads a government or legal PDF
- Document is parsed, chunked, and embedded
- Embeddings are stored in MongoDB Atlas
- User queries are embedded and matched semantically
- Relevant document sections are retrieved
- The LLM generates a response constrained to that context
This architecture balances usability with reliability while remaining scalable.
- Built a functional RAG system in under 24 hours
- Implemented vector search using MongoDB Atlas
- Designed for accessibility and public-service use cases
- Delivered a polished, demo-ready gov-tech prototype
- Demonstrated practical application of AI safety concepts
- Implementing end-to-end RAG pipelines
- Working with vector databases in production-like systems
- Handling real-world PDF document complexity
- Designing AI systems for trust and correctness
- Rapid full-stack development under hackathon constraints
- Inline citations and source highlighting
- Multi-language support (French priority)
- OCR support for scanned documents
- Document history and saved conversations
- Stronger accessibility tooling and screen reader support
- Uzeyr Abdirahman โ GitHub | LinkedIn
- Kurt Jallorina โ GitHub | LinkedIn
- Bianca Javier โ GitHub | LinkedIn
- Jason Tan โ GitHub | LinkedIn
- Hackville 2026 organizers and mentors
- MongoDB Atlas for enabling scalable vector search
- Open-source tools that made rapid experimentation possible
- Anyone who has struggled to understand essential paperwork
Built with care at Hackville 2026