jamwithai/beginner-local-rag-system — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple local app where I can upload my personal documents and ask questions about them privately, without sending the files to the cloud.

I want it to feel like a small chatbot for my own files. It should let me add documents, index them locally, search them with both keyword matching and meaning based search, and then use a local LLM to answer questions using the most relevant document chunks. Please include a clean Streamlit interface with a welcome page, an upload area, and a chat page where answers show the source context when possible.

Use OpenSearch for the local search part, sentence embeddings for semantic search, and make the setup beginner friendly. Add sensible configuration for local paths, model settings, logs, and uploaded files. If something needs to be installed or started separately, explain it clearly in the README. Keep everything private and runnable on my own machine.

Want more depth? Deep Reverse