KISHANSINHAA/rag_project ? reverse-engineered prompt

Reverse engineered prompt

Build me a document question answering app where I can upload PDF, DOCX, or TXT files, then ask natural language questions about them and get grounded answers with citations back to the source pages or snippets.

I want a simple chat style interface for the user, plus a backend API so the same app can be used from the UI or called directly. It should remember the conversation in a session, handle follow up questions, and only answer from the uploaded documents when possible instead of making things up. If it cannot find the answer, it should say so clearly.

Also add a basic feedback option for each answer, like thumbs up and thumbs down, and save that feedback. Make sure uploaded files are indexed so multiple documents can be searched together, and include a health or status endpoint. If you need to check current docs for any library details, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab