← TRANSMISSIONS
articleApril 20258 MIN READ

Building RAG Systems That Actually Work

RAGLangChainAI EngineeringLLMs

# Building RAG Systems That Actually Work


When we set out to build an AI advisor chatbot for over 10,000 graduate students at UA Little Rock, we didn't realize how quickly "simple retrieval" becomes a systems problem.


The Problem with Naive RAG


Most RAG tutorials show you the happy path: embed your documents, store them in a vector DB, retrieve top-k chunks, feed to LLM. It works beautifully — until it doesn't.


In production, we encountered three failure modes almost immediately:


**1. Semantic mismatch.** Students asking "how do I apply to the CS program" wouldn't match our chunks about "Computer Science MS application requirements" because they used different vocabulary.


**2. Context fragmentation.** When we chunked our faculty handbook at 512 tokens, important context about prerequisites and deadlines ended up in different chunks.


**3. Hallucination on gaps.** When the answer wasn't in our corpus, the LLM would confidently invent policy details.


What We Actually Built


Using LangChain and LangSmith for observability, we implemented a multi-stage hybrid retrieval pipeline combining BM25 keyword search with dense vector retrieval.


Results


After two iterations: response accuracy improved 30%+, fallback rate dropped 40%.

NVIDIA ACADEMIC RESEARCH GRANT — ACTIVEPHD CANDIDATE • UNIVERSITY OF ARKANSAS AT LITTLE ROCK • GPA 4.0/4.0PAVA LA PERE INNOVATION AWARD — $50K NON-DILUTIVE GRANTCTO • KAIROS NEXUS GLOBAL • KAIROSNG.COMNSBE 25 UNDER 25 HONOR AWARD 2026INCOMING PHD DATA SCIENCE INTERN • HERE TECHNOLOGIES4 PUBLICATIONS • 6 AWARDS 2025-26 • RSO PRESIDENT OF THE YEARNVIDIA ACADEMIC RESEARCH GRANT — ACTIVEPHD CANDIDATE • UNIVERSITY OF ARKANSAS AT LITTLE ROCK • GPA 4.0/4.0PAVA LA PERE INNOVATION AWARD — $50K NON-DILUTIVE GRANTCTO • KAIROS NEXUS GLOBAL • KAIROSNG.COMNSBE 25 UNDER 25 HONOR AWARD 2026INCOMING PHD DATA SCIENCE INTERN • HERE TECHNOLOGIES4 PUBLICATIONS • 6 AWARDS 2025-26 • RSO PRESIDENT OF THE YEAR