DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to use PAKGOV RAG Project: what you can do with it

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.

How do I use it? 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. Full steps below.

Trended earlier

View repo on GitHub

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer

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.

    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.

    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.

Quick start with PAKGOV RAG Project

  1. 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).
  2. Open salikhussain71-code/PAKGOV-RAG-project on GitHub and read the README and license.
  3. Clone https://github.com/salikhussain71-code/PAKGOV-RAG-project and open the project folder.
  4. Run pip install streamlit sentence-transformers faiss-cpu rank_bm25.
  5. Run python -m streamlit run app/demo/app.py --server.port 8501.
  6. 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

Cursor, ChatGPT, others

Best AI repos for Research

About this repo

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. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/salikhussain71-code/PAKGOV-RAG-project.svg)](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&amp;utm_medium=badge&amp;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.