What do you want to do?
3 use cases
-
Ask Constitution questions and get cited answers
Run the local demo and ask questions in English or Urdu, getting answers that cite the source page.
- REPO
salikhussain71-code/PAKGOV-RAG-project - Research
- Intermediate
View prompt
Clone the repo salikhussain71-code/PAKGOV-RAG-project, install its demo requirements, and start app/demo/app.py on port 8501. Ask the demo the question <question in English or Urdu> and report the answer, its status, and its [Source: Constitution.pdf p.X] citation. Verify that the cited page actually contains the answer text before reporting it.
- REPO
-
Check the retrieval benchmark numbers yourself
Regenerate the results table from committed evaluation files and compare BM25, dense, and hybrid retrieval.
- REPO
salikhussain71-code/PAKGOV-RAG-project - Research
- Intermediate
View prompt
Clone salikhussain71-code/PAKGOV-RAG-project, run python app/eval/final_table.py, and write the regenerated results to evaluation/retrieval/FINAL_RESULTS.md. Report the R@5 and MRR values for BM25, Dense, and Hybrid RRF (k=60). Verify that the values match the committed metrics JSON files in evaluation/retrieval/ and flag any difference.
- REPO
-
Build a search index for Senate rules and acts
Extract, chunk, and embed a folder of Senate PDFs into a FAISS index using the repo's pipeline commands.
View prompt
In the cloned salikhussain71-code/PAKGOV-RAG-project repo, place the PDFs from <folder of Senate PDFs> in data/raw/senate/ and run the extract, chunk, and embed commands from the README in order. Report the number of chunks saved and the number of FAISS vectors saved. Verify that scanned PDFs that produced placeholder text are listed, since OCR is pending for them.
Quick start with PAKGOV RAG Project
- Check you have what it needs: Python installed (the README lists Python 3.14); Ability to clone the GitHub repository and run commands in a terminal; Internet access for the first download of the sentence-transformers embedding model (inferred from the model being loaded by name).
- Open salikhussain71-code/PAKGOV-RAG-project on GitHub and read the README and license.
- Clone https://github.com/salikhussain71-code/PAKGOV-RAG-project and open the project folder.
- Run
pip install streamlit sentence-transformers faiss-cpu rank_bm25. - Run
python -m streamlit run app/demo/app.py --server.port 8501. - Open http://localhost:8501 in a browser.
These steps come from our top use case, Ask Constitution questions and get cited answers, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for salikhussain71-code/PAKGOV-RAG-project
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forWritten for Python developers and NLP researchers who want to query Pakistani legal text or reproduce a low-resource retrieval benchmark.
- Why it is hot129 stars, launched 53 days ago
- LanguagePython
- Sourcegithub.com/salikhussain71-code/PAKGOV-RAG-project · Back to Hot repos
Requirements
- Python installed (the README lists Python 3.14)
- Ability to clone the GitHub repository and run commands in a terminal
- Internet access for the first download of the sentence-transformers embedding model (inferred from the model being loaded by name)
- Constitution of Pakistan PDFs or the committed data files for the demo and evaluation
Add this badge to your README
Maintain PAKGOV RAG Project? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/salikhussain71-code-pakgov-rag-project/?utm_source=github&utm_medium=badge&utm_campaign=salikhussain71-code-PAKGOV-RAG-project)
HTML
<a href="https://dedupedai.com/use-cases/salikhussain71-code-pakgov-rag-project/?utm_source=github&utm_medium=badge&utm_campaign=salikhussain71-code-PAKGOV-RAG-project"><img src="https://dedupedai.com/badge/salikhussain71-code/PAKGOV-RAG-project.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about PAKGOV RAG Project
What is PAKGOV RAG Project?
A research project that answers questions about the Constitution of Pakistan in English, Urdu, or both, using hybrid retrieval and citation-grounded answers, with a published retrieval evaluation. It is an open-source project on GitHub: https://github.com/salikhussain71-code/PAKGOV-RAG-project.
How do I use PAKGOV RAG Project?
Clone https://github.com/salikhussain71-code/PAKGOV-RAG-project and open the project folder; then run pip install streamlit sentence-transformers faiss-cpu rank_bm25; run python -m streamlit run app/demo/app.py --server.port 8501. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is PAKGOV RAG Project for?
Written for Python developers and NLP researchers who want to query Pakistani legal text or reproduce a low-resource retrieval benchmark.
What can I do with PAKGOV RAG Project?
3 use cases so far, for example: Ask Constitution questions and get cited answers; Check the retrieval benchmark numbers yourself; Build a search index for Senate rules and acts. Each has steps and a copy-paste agent prompt.
What do I need to run PAKGOV RAG Project?
Python installed (the README lists Python 3.14); Ability to clone the GitHub repository and run commands in a terminal; Internet access for the first download of the sentence-transformers embedding model (inferred from the model being loaded by name); Constitution of Pakistan PDFs or the committed data files for the demo and evaluation.
What are alternatives to PAKGOV RAG Project?
Other hot AI repos in Research: Deep Tutor, Local Deep Research, Project Nomad, Nanochat, We Knora.
Is PAKGOV RAG Project safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.