LLM Engineering10 min read
Visualizing RAG pipelines with LangGraph StateGraph
How to render a RAG pipeline as a graph with LangGraph StateGraph. The diagram, the state schema, and the debugging workflow that saves hours.
Loading...
Build Your First Software Factory Execution Harness live Thursday, Oct 1, 12:00 PM ET
Oct 1, Reserve a seatExplore our latest articles and insights about RAG.
42 posts in total
LLM Engineering10 min read
How to render a RAG pipeline as a graph with LangGraph StateGraph. The diagram, the state schema, and the debugging workflow that saves hours.
LLM Engineering11 min read
How to add chain-of-thought reasoning to a RAG pipeline. The prompt, the parsing, and the cases where CoT beats a straight answer by a wide margin.
LLM Engineering11 min read
How to pick an embedding model for production RAG. The 5 criteria that matter, the benchmarks that lie, and the migration cost nobody warns you about.
LLM Engineering11 min read
How RecursiveCharacterTextSplitter works, why it beats naive chunking, and the separator order that makes or breaks retrieval quality.
LLM Engineering11 min read
How hybrid retrieval combines vector search and graph traversal in RAG. The when, the why, and the 60-line fusion that beats either alone.
LLM Engineering11 min read
How to use RAGAS to evaluate RAG pipelines. The 4 metrics that matter, the eval loop, and the trap that makes most RAG evals dishonest.
LLM Engineering12 min read
How agentic RAG uses LangGraph to plan, rewrite queries, and call tools. The graph, the state, and the nodes that turn single-pass RAG into reasoning.
LLM Engineering12 min read
How dynamic RAG re-plans retrieval mid-pipeline. The replanner prompt, the loop that recovers from bad chunks, and when this beats single-pass RAG.
LLM Engineering11 min read
How JSON output parsing grounds RAG answers in retrieved context. The Pydantic schema, the prompt, and the validation that kills hallucinations.
LLM Engineering11 min read
Stuff, Map Reduce, or Refine? How to pick the right LangChain chain type for RAG summarization, and the cost and quality trade-offs that decide it.
LLM Engineering11 min read
How quote extraction shrinks RAG context by 80% without losing answer quality. The pattern, the prompt, and the code that ships in production pipelines.
AI Engineering7 min read
Learn how to optimize RAG agents by balancing speed, cost, and quality. Understand asymmetric model design, parallel retrieval, and re-ranking strategie...