PAKGOV-RAG-project

Research project on bilingual Urdu-English retrieval-augmented generation for Pakistani government and legal documents, with OCR, hybrid retrieval, citation grounding, and evaluation

A new way for AI to search for data
View on GitHub
129GitHub stars
59commits on main
5forks

Python 100% · created 2026-09-17 · last push 2026-10-28

What XERJ indexed

Snapshot

84 files · 5.4 MB

The whole repository at commit 41b909b339 (2026-10-01). main is 14 commits ahead.

Selected work

Salik Hussain
@salikhussain71-code

“Senate 10 PDFs 1080 chunks 1080 vectors - 2 scanned placeholder fixed…”. 5 files, 2,234 lines in data, ingestion.

Licence

The repository

MIT

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

MIT, with credit

The author agreed by email on 2026-10-10. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

artificial-intelligenceinformation-retrievallegal-nlplow-resource-languagesnlpocrragretrieval-augmented-generation

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported MIT for salikhussain71-code/PAKGOV-RAG-project on 2026-10-31, and the LICENSE file at commit 41b909b339 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Salik Hussain (@salikhussain71-code) has 1 selected repository on the hub.

Using XERJ with PAKGOV-RAG-project

The prompt

Paste it into your AI agent. It clones salikhussain71-code/PAKGOV-RAG-project at the pinned commit and indexes it on your machine.

Search the GitHub repository salikhussain71-code/PAKGOV-RAG-project with XERJ (https://hub.xerj.org/corpus/salikhussain71-code--pakgov-rag-project).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/salikhussain71-code/PAKGOV-RAG-project PAKGOV-RAG-project && git -C PAKGOV-RAG-project checkout 41b909b33913f3873d2a49b086e6513c4fa0d339
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./PAKGOV-RAG-project --url http://127.0.0.1:9200 --prefix pakgov-rag-project --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.