sugeerth/production-rag ? reverse-engineered prompt
Reverse engineered prompt
Build me a local web app that lets me ask questions over my own documents and get answers with clear source citations.
I want to be able to drop in or upload PDF, Word, Markdown, HTML, and text files, then have the app index them and answer questions using a mix of keyword search and semantic search so it works well for both exact phrases and broader meaning. The answers should always show where they came from, like the file name or source chunk, and if the app is not confident it should say so instead of guessing.
Please make it run with FastAPI and Ollama, with a simple browser UI on localhost. It should support re indexing when documents change, keep track of what got uploaded, and include a basic monitoring or status page if that fits. If you need to check current docs for Ollama or any library details, go ahead and look them up online.