Arun2198/enterprise-rag-platform ? reverse-engineered prompt
Reverse engineered prompt
Build me an enterprise document Q and A app that can read PDFs, DOCX files, and markdown, then answer questions using only the content it actually found. I want a simple API I can run locally with no cloud setup needed, plus a demo that loads the sample document and answers a question end to end.
The app should ingest files from an allowed folder, break them into smart chunks, do retrieval with both semantic and keyword search, and give a grounded answer with fallback if the main answer method is unavailable. Please include basic safety checks for things like personal data, prompt injection, and secret leakage, and make sure the system can show where the answer came from.
Also add an evaluation script that can score retrieval and answer quality against a golden dataset, and keep the code structured so the main pieces can be swapped out later for real production services. If you need to look up current docs online, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit