Maheenrz/agentic_rag ? reverse-engineered prompt

Reverse engineered prompt

Build me a secure document Q and A app for an organization.

People should be able to upload private files like PDFs, Word docs, text, markdown, HTML, and spreadsheets into access controlled collections, then ask questions in plain English and get answers that are grounded in the documents with source references and short quoted passages. If the documents do not support the answer, it should clearly say so instead of guessing.

I also want a guest mode where someone can upload their own document and ask a few questions without touching the main organization data. Make it feel like a real product with login, roles, admin screens for users, groups, collections, feedback, audit history, and settings.

Please include search that feels smart, with both keyword and semantic matching, and make the answers stream in nicely in the UI. Use current best practices for security and document handling, and look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab