onamfc/rag-chat ? reverse-engineered prompt
Reverse engineered prompt
Build me a private document chat app where I can upload PDFs, DOCX files, TXT files, and Markdown files, then ask questions and get answers based only on my own files.
I want it to work locally if I choose, but also let me plug in cloud AI providers if needed. Please include a simple chat interface that feels clean and easy to use, plus an API so I can connect other apps to it. It should index documents, do semantic search, and keep the setup flexible so I can change things like the model, embeddings, and vector database without rewriting everything.
If possible, add support for connecting external tools through MCP too, so the app can use things like a calculator or filesystem helpers. Make the configuration easy with an example env file and a config file, and keep the whole thing production ready with decent error handling and clear startup scripts. If you need current docs for any provider or MCP details, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit