Niharm31/ai-document-assistant ? reverse-engineered prompt

Reverse engineered prompt

Build me a local first document Q and A app where I can upload PDF files, ask questions about one or more documents, and get answers that are grounded in the text with page references so I can check the source. I want a simple web interface and a backend API that can handle document upload, search, chat history, and deleting documents. It should work with either a local model or an OpenAI compatible model endpoint, and it should be ready to run with Docker as well as directly from Python. Please make it feel production ready, with clear health checks, sensible error handling, and tests. If you need to look up current docs online for anything, go ahead. Also make sure the app can store and retrieve document chunks efficiently, and that the answers stay tied to the uploaded files instead of making things up.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab