pankaj-2708/Self-RAG-on-Indian-Constitution ? reverse-engineered prompt

Reverse engineered prompt

Build me a question answering app for Indian law that can answer questions about the Constitution of India and the Indian Penal Code in a reliable, grounded way.

I want it to use retrieved sources first, but if the local documents do not have enough context, it should be able to look things up on the web and then correct itself if the answer is not well supported. The experience should feel smart and careful, like it checks its own work before giving a final answer.

Please include a simple way to test it on a set of legal questions and show the quality of the answers with a few evaluation scores. If there are notebooks or scripts needed to run the full pipeline, set those up so I can reproduce the results easily. Look up current docs online if you need to, and keep the project clean and easy to run from the README.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab