Yash-Kavaiya/MediRAG — reverse-engineered prompt

Reverse engineered prompt

Build me a polished healthcare web app called MediRAG that feels modern and easy to use. I want a homepage that routes people into four main tools, one for uploading an X ray image or PDF and getting an AI diagnosis with confidence and recommendations, one for generating personalized diet and sleep plans from a simple health form, one for booking doctor appointments with confirmation, and one for a mental health support chat that feels calm and empathetic.

Please make it a full stack app with a clean responsive interface and working backend APIs. The upload flow should handle both images and PDFs. The health plans should be clearly formatted and practical. The appointment section should let users choose a provider, reason, and time. The chatbot should keep the conversation readable and supportive.

Use the existing project structure if there is one, and wire up the AI powered parts so they actually work with environment variables for the API key. If anything is missing or outdated, look up current docs online and finish it in a way that can run locally without a lot of setup.

Want more depth? Deep Reverse