Rishi52/Compliance-RAG-System ? reverse-engineered prompt
Reverse engineered prompt
Build me a local compliance chatbot for CIS Controls v8.1 that lets me upload or process the CIS PDF, ask natural language questions, and get short answers with clear source references.
I want it to work fully on my machine, with a simple chat page in the browser and a FastAPI backend that handles the question and returns the answer plus citations like control ID, safeguard ID, and page number. The app should extract the safeguards from the PDF, save the processed data, build a searchable local vector store, and use a hybrid retrieval approach so the answers stay accurate and grounded in the document.
Please make it privacy first, so nothing gets sent to external APIs, and use a local model through Ollama. Keep the UI clean and easy to use, with a chat style layout and visible sources for every response. If you need to check current docs for anything, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit