AnshSinghal/DHARA ? reverse-engineered prompt
Reverse engineered prompt
Build me an AI legal research app that helps people ask plain English questions and get back the most relevant legal documents, case law, and citations.
I want a FastAPI backend with a simple health check and a search endpoint where I can send a query, optional filters like jurisdiction and document type, and get ranked results with summaries, metadata, and citations. The app should use a smart retrieval flow so it can understand legal terms, pull from a search index, rerank the best matches, and return clear answers fast. Please include the basic project setup, environment variables, and Docker support so I can run it locally and with containers. If you need to look up current docs for any library or service, go ahead and do that. Also make sure the API docs are easy to use and the app is structured so I can add more legal data later.
Are you gonna build this?
make sure you review the code using coderabbit