ahmarshahid/Research-Rag-Assistant ? reverse-engineered prompt
Reverse engineered prompt
Build me a full stack AI research assistant that lets people upload one or more PDF papers, then chat with them and get accurate answers with citations back to the source pages or passages.
I want a clean web app where users can sign up, log in, upload documents, see their files, and ask questions in a chat style interface. The answers should stream in as they are generated, and the app should use the uploaded PDFs to ground responses instead of making things up. Please include smart document search so it can find relevant sections across multiple files, and make the answers better by ranking the best matches before responding.
Set it up so it runs locally with Docker, with a FastAPI backend and a modern Next.js frontend, and use a real database and cache so it feels production ready. If you need to check the latest docs for any libraries, look them up online.