SciPhi-AI/R2R — reverse-engineered prompt
Reverse engineered prompt
Build me a production ready AI knowledge retrieval app I can run locally first, with a clean REST API and a simple way to talk to it from Python and JavaScript. I want to be able to upload my own files like text, PDFs, JSON, images, and audio, have them indexed, and then ask questions in natural language.
The app should support solid search, both semantic and keyword style, plus RAG answers with citations back to the source documents. I also want an agent style deep research mode that can reason through harder questions by pulling from the knowledge base and, when appropriate, the web. If it fits the project, include document management, collections, and basic user access controls.
Please make it feel self hosted and practical, with an easy local startup path and an optional fuller Docker setup for a more complete deployment. Good defaults are important. Add enough docs and examples so I can ingest a document, list documents, run search, run cited QA, and try the deep research flow right away. Look up current docs online if you need to.
Want more depth? Deep Reverse