digithree/ollama-rag — reverse-engineered prompt
Reverse engineered prompt
Build me a local private chatbot that runs on my own computer using Ollama, with a simple web page where I can chat with it. I want it to feel like it remembers me over time, so it should save useful bits from past conversations with dates and bring them back later when relevant.
It should also let me point it at a folder of PDFs, process them, and then answer questions using those documents as background knowledge. Please include an easy setup flow where I can choose the model and basic personality for the agent, plus simple scripts to run it, reset the conversation memory, and ingest PDFs.
Keep it Python based and make it work well on Mac or Linux. The chat should stay local and private. Web search can be optional and off by default. If anything needs current Ollama or Streamlit details, look up the docs online.
Want more depth? Deep Reverse