hamid7242/Pakistan-Legal-Assistant-RAG ? reverse-engineered prompt
Reverse engineered prompt
Build me a Pakistan legal assistant chatbot that answers questions from Pakistani law documents, with a clean chat style interface and a strong backend that can retrieve relevant passages and give useful answers with citations.
The basic chat experience should already feel polished, with voice input and output, chat history, copy answer, export to PDF, dark and light mode, and a sidebar for recent conversations. I also want login and signup so users can save their chats and come back later.
Please connect LangSmith so I can monitor prompts, retrieval, and agent behavior, and add an evaluation flow using a test dataset and RAGAS so I can measure how well the answers are working. If needed, look up current docs online while building.
There should also be a deployment ready setup, and the answer style should improve for direct yes or no questions, while still giving a short explanation underneath. If you can, also improve retrieval quality with reranking or smarter context selection so the answers feel more accurate and grounded.
Are you gonna build this?
make sure you review the code using coderabbit