Vampire-S/gramin-nyaya — reverse-engineered prompt

Reverse engineered prompt

Build me a local web app called Gramin Nyaya that works like a legal help assistant for rural India. I want someone to be able to ask legal questions in Hindi, either by typing or speaking, and get clear simple Hindi answers based on English legal acts stored in a local documents folder. Please make it feel trustworthy and easy to read, with a high contrast civic style interface that works well for people with low digital literacy.

It should run fully on my machine for privacy, use a local small model through Ollama, support speech to text with Whisper, and use a retrieval system so answers come from the uploaded legal texts instead of random guessing. Add the document ingestion step so text files in the legal_docs folder can be cleaned, indexed, and searched before the app starts. I also want a simple browser chat page at localhost:8000 and clean API routes behind it. Include a short disclaimer that this gives legal information, not formal legal advice. Look up current docs online if you need to.

Want more depth? Deep Reverse