NOTE: This is not a conventional blog article. It is a technical spec written for a concrete feature in lucidRAG. I iteratively feed this document to code-focused LLMs during development to reason about trade-offs, validate assumptions, and converge on a…
In Part 1, we explored why GraphRAG matters. Now let's build a minimum viable GraphRAG with three extraction modes: Mode LLM Calls Best For Heuristic (default) 0 per chunk Fast indexing, structured markdown Hybrid 1 per document Balance of speed and quality…
Your RAG system is great at "needle" questions: retrieve a few relevant chunks and synthesise an answer. It struggles with two common query types: Sensemaking: "What are the main themes across this corpus?" Connective: "How does X relate to Y across different…
📖 Part of the RAG Series: This is Part 4a - core implementation: Part 1: RAG Origins and Fundamentals - What embeddings are, why they matter Part 2: RAG Architecture and Internals - Chunking, tokenisation, vector databases Part 3: RAG in Practice - Building…
📖 Part of the RAG Series: This is Part 5 - production integration patterns: Part 1: RAG Origins and Fundamentals - What embeddings are, why they matter Part 2: RAG Architecture and Internals - Chunking, tokenisation, vector databases Part 3: RAG in Practice -…