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.
- 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.
-
Check the retrieval benchmark numbers yourself
Regenerate the results table from committed evaluation files and compare BM25, dense, and hybrid retrieval.
- 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.
-
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.
- PAKGOV RAG Project
- Research
- Advanced
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.
How to use 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.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freePAKGOV RAG Project alternatives · Best AI repos for Research
About 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 hot
- 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
Maintain PAKGOV RAG Project? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/salikhussain71-code-pakgov-rag-project/?ref=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.
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: Scientific Agent Skills, Speaker Mem R1, DSH Council, Evo Bot, AI Engineering Course.
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.