MirazulHasan/COMPANY_POLICY_ASSISTANT_CHATBOT ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple local company policy chatbot that runs on my machine and works completely offline.

I want to upload PDF or TXT policy documents like HR, IT, or remote work rules, then ask natural questions and get clear answers based only on those files. Please make it show source citations too, like the file name, page number, and a short snippet so I can check where the answer came from. Keep the chat history during the session, and make the UI clean and easy to use in a browser.

Use Ollama for both the model and embeddings, Chroma for search, and Streamlit for the web app. It should feel fast and private, with no API keys needed. If anything needs current setup details, look up the latest docs online. Make sure it has a simple way to start locally and is ready to test with uploaded documents right away.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab