DivittR/SmartRagAssistant ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple web app where I can upload a PDF like a syllabus, placement guide, or technical manual, then ask questions about it in plain English and get fast answers with the page numbers or citations shown clearly.

I want it to feel like a clean single page app, with a nice upload area, a chat style question box, and results that show the most relevant parts of the document plus the AI answer. It should work well for large PDFs, process the file quickly, and not require any complicated setup for the user. Please use a lightweight backend and keep the document handling local as much as possible, then send only the needed text to Gemini for the answer. Also make sure API keys are kept private and the UI works well on desktop and mobile. If you need to check current docs or best practices, look them up online.