Build a RAG Chatbot in Python from Zero: sentence-transformers, Chroma and Ollama
A working local RAG chatbot over your own Markdown files in about 150 lines of Python: chunking, all-MiniLM-L6-v2 embeddings, a persistent Chroma store, retrieval and answers from Ollama, with real output.
Darpan Patel
·
Dec 02, 2026
·
18 min
What Is RAG? Retrieval-Augmented Generation Explained Simply
RAG without jargon: chunking, embeddings, vector search, prompt assembly and generation, when it beats fine-tuning and long context, when it does not, and the failure modes that break it.
Darpan Patel
·
Nov 24, 2026
·
13 min