Eliminate Hallucinations with Context Filter Guardrails
summary
Claims that context filter guardrails eliminate hallucination in RAG by scoring each retrieved chunk and dropping those below a threshold, using feedback functions (LLM-as-judge or small classifiers) to score relevance. Demo uses a vector store (chroma), OpenAI models, Grock and local Llama 3.1, a 5‑doc retrieval that filters three 0.2 scores leaving one 0.8 score. Latency examples: 2.3s with filtering vs 1.7s without, and filtered runs match expected answers.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:07Guardrail inspiration
- 3:55How guardrails score work
- 7:25Setting up the demo environment
- 11:22Code implementation
- 13:28Filtering vs retrieval
- 15:15Model performance tests
- 16:59Open-source guardrails
- 18:24Tracing RAG execution
- 20:54Q&A
related talks
42mTo RAG or not to RAG
26mReducing Hallucinations and Evaluating LLMs for Production
27mOptimizing RAG Systems in Practice: Challenges and Proven Solutions
32mWhy do LLMs hallucinate?
38mLeveraging Knowledge Graphs for RAG: A Smarter Approach to Contextual AI Applications
22mThe Power of RAG at Scale: A Year of Explosive Growth and Observab...
17mVectors Vs. Hallucinations: OpenSearch's GenAI Survival Kit
43mWhy Your RAG System Hallucinates: Fixing the Content Segmentation Problem
