YuvanShankar2006/Legal_support_system ? reverse-engineered prompt
Reverse engineered prompt
Build me a Streamlit app called LawSense that helps expats ask legal questions and get clear answers in both English and Arabic.
It should search through the legal JSON data with semantic retrieval, use the saved FAISS index and embeddings, and then generate a grounded answer from Groq with Llama 3.3 70B. The response should be easy to read, split into a short legal summary, practical guidance, any relevant penalties or contacts if available, and then an Arabic translation. I also want a polished dark themed chat interface with source cards, nice spacing, and proper Arabic font support.
Please make sure the app can load the existing legal documents and index files, handle country and category filtering when possible, and feel responsive and professional. If anything important is missing in the repo, set it up in the simplest working way and look up current docs online if you need to.