d-hackmt/8hr-marathon ? reverse-engineered prompt

Reverse engineered prompt

Build me an enterprise style document Q and A app that can take files from a data folder, process them locally, and let users chat with the content in a clean Streamlit interface.

I want it to separate real technical info from noisy or irrelevant text, use a smart planning step before deciding whether to search documents or answer directly, and block unsafe or off topic prompts before anything gets retrieved. It should support PDF, HTML, TXT, DOCX, and PPTX files, store processed chunks and metadata, and use a vector search backend with semantic reranking so answers feel accurate and grounded.

Please include a FastAPI backend with a single query endpoint, a chat UI that shows some reasoning transparency, and a small evaluation app for checking answer quality. If you need to check current docs for any library details, go ahead and look them up online. Also make sure the app is set up so it can run locally with environment variables and a simple ingest step before launch.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab