Local RAG
2 posts on Local RAG.

Ollama "truncating input prompt": the RAG that silently ignored half its context
A RAG prompt longer than Ollama's context window gets cut from the front, the API still answers 200, and the only trace is one WARN line in the server log. A measured repro on Ollama 0.40.18 and 0.12.10, the three fixes, why /v1 ignores num_ctx, and the flag that makes it fail loudly.
12 min read

Building a Privacy-First Local RAG System (End-to-End)
A practical, end-to-end guide to building a private RAG system that never leaves your machine — local embeddings, vector store, and LLM, with real code.
5 min read