LangChain

7 pieces on LangChain, including 7 step-by-step guides.

Guides

Generate Synthetic RAG Test Sets With Ragas
guides
Shan • 2026-10-04
RagasRAGEvaluationPythonLangChain

Generate Synthetic RAG Test Sets With Ragas

Build, save and reuse a Ragas knowledge graph to generate single-hop and multi-hop evaluation queries from Markdown documents.

Read more →
Build an Agentic RAG System with smolagents and ChromaDB
guides
Shan • 2026-09-29
smolagentsRAGChromaDBLangChainagents

Build an Agentic RAG System with smolagents and ChromaDB

Use smolagents CodeAgent to run multi-step retrieval over a ChromaDB vector store, letting the agent plan its own search strategy.

Read more →
Graph RAG with Neo4j and OpenAI: Build a Product Search Pipeline
guides
Shan • 2026-09-14
neo4jraglangchainopenaiknowledge-graphvector-search

Graph RAG with Neo4j and OpenAI: Build a Product Search Pipeline

Combine Neo4j property graphs, GPT-4o entity extraction, and cosine similarity to build a multi-strategy product retrieval pipeline.

Read more →
Build a Self-Correcting RAG Agent with LangGraph and Milvus
guides
Shan • 2026-08-27
LangGraphRAGMilvusOllamaLangChain

Build a Self-Correcting RAG Agent with LangGraph and Milvus

Wire adaptive routing, corrective RAG, and self-RAG into a stateful LangGraph agent backed by Milvus Lite — no OpenAI key required.

Read more →
guides
Shan • 2026-05-19
AI AgentsIntent DetectionRAGLangChainVector DatabasesPrompt Engineering

Beyond Prompt Engineering: Deep-Dive RAG for Intent Detection & Slot Filling in AI Agents

Stop relying on massive, static context prompts. Learn how to combine Retrieval-Augmented Generation (RAG), vector search (FAISS), and history compaction to achieve scalable intent detection and slot filling.

Read more →
Local RAG Tutorial: LangChain, Ollama & ChromaDB with Ragas
guides
Shan • 2026-05-13
Local RAGOllamaChromaDBLangChainRagas

Local RAG Tutorial: LangChain, Ollama & ChromaDB with Ragas

Build a fully local, private RAG system using Ollama, ChromaDB, and LangChain. Includes a Python Streamlit app, a Node.js variant, and automated evaluation with Ragas.

Read more →
Getting Started with LangChain in 2026: Build a RAG Agent and a RAG Chain
guides
Shan • 2026-04-05
LangChainRAGPythonAI AgentsOpenAIVector Search

Getting Started with LangChain in 2026: Build a RAG Agent and a RAG Chain

Build retrieval-augmented generation two ways with LangChain 1.x: an agent that calls a retrieval tool, and a chain that injects context every time.

Read more →