Pakistani CS Student Builds RAG-Powered AI Tool to Make Law Accessible to All
A computer science student at Sukkur IBA University in interior Sindh has developed HAQ, an AI-powered legal assistant aimed at making Pakistani law accessible to citizens who cannot afford lawyers. The tool uses Retrieval-Augmented Generation (RAG), meaning it only provides legal information backed by retrieved passages from actual Pakistani legislation, with direct source links, to avoid the hallucination problem common in standard AI models. Pakistan's 220 million citizens are technically protected by hundreds of laws, but high lawyer fees, understaffed legal aid, and legislation written in English create a steep access barrier for most people. Building the system required collecting and processing over 100 Acts from scattered, inconsistently digitized government portals across federal and provincial sources. The project's name, HAQ, is an Arabic and Urdu word meaning 'right' — reflecting the developer's goal of helping citizens understand what is legally theirs.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in