Observed Signal · Jul 14, 2026 · Technical Release · Source: DEV Community · Impact: 2/5 · Sentiment: Positive
RAG Evaluation with RAGAs: Faithfulness, Recall, Relevance
This article presents RAGAs (Retrieval Augmented Generation Assessment), an evaluation framework that decomposes RAG system quality into three diagnostic metrics: faithfulness, context recall, and answer relevance. The author uses a Vietnamese bank compliance assistant case study where retrieval returned correct documents but the generator hallucinated non-existent rules. RAGAs helped surface that the generation layer was producing unsupported claims (faithfulness 0.71 on a 120-question set) and that retrieval chunking reduced context recall (initially 0.68). Practical remediation included a real-time faithfulness gate (which reduced user-reported wrong answers by ~55%), sentence-window retrieval to raise context recall to 0.84, and prompt surgery to improve answer relevance. The piece also covers operational guidance: a minimum 80-question ground-truth eval set, weekly automated runs (e.g., GitHub Actions), and using an LLM-as-judge (example: gpt-4o-mini) to keep costs low (under $5 per 100-question run).
Provides a practical evaluation framework and operational controls for RAG systems that improve reliability of conversational AI; relevant to teams building production assistants but not a major industry-wide platform change.
Track GitHub Signals & Market Shifts in Real-Time
Polaris7 autonomous intelligence agents track regulatory filings, primary sources, executive changes, and deal flow 24/7. Create your free Explorer workspace to monitor these entities.
Key Takeaways & Evidence Grounding
- RAGAs decomposes RAG evaluation into three measurable metrics: faithfulness, context recall, and answer relevance.
- In a Vietnamese bank project, initial faithfulness was 0.71 on a 120-question eval and context recall was 0.68 due to 512-token chunking.
- Switching to sentence-window retrieval raised context recall from 0.68 to 0.84 in one iteration; three-month metrics reached faithfulness 0.93, context recall 0.87, answer relevance 0.84.
- A real-time faithfulness gate in the response path cut user-reported wrong answers by about 55% before other fixes were applied.
- Using an LLM-as-judge (example: gpt-4o-mini) costs under $5 per 100-question weekly evaluation run; recommended minimum ground-truth eval set is 80 questions.
Connected Companies & Entities
2 Entities mapped“We schedule this as a weekly GitHub Actions cron against the production pipeline and alert on any metric that drops more than five percentag...”
“The team had been running a green-emoji / red-emoji Notion sheet as their eval process....”
Ontology Mapping & Concepts
Related Market Signals & Shifts
Recent verified developments and strategic activity across this market segment.
Retrieval-Augmented Generation (RAG) Explained
This technical blog explains Retrieval-Augmented Generation (RAG), an AI architecture that pairs a retrieval system with a Large Language Model (LLM) so models can answer using external, up‑to‑date, and domain-specific documents. It describes a canonical RAG pipeline (user query → embedding model → vector database → retriever → prompt builder → LLM → response), step‑by‑step workflows, common components (document loaders, text splitters, embedding models, vector DBs, retrievers, prompt templates), recommended practices (semantic chunking, store metadata, retrieve top 3–5 chunks, re‑rank results, cache frequent queries), typical tech stack examples (React/Next.js frontend, Node.js/Python backend, OpenAI embeddings, Pinecone/Qdrant/ChromaDB vector DBs, LangChain/LlamaIndex frameworks, GPT‑4/Claude/Gemini LLMs), benefits (up‑to‑date answers, reduced hallucinations, private knowledge access, cost effectiveness) and challenges (chunking quality, embedding quality, latency, indexing scale and prompt engineering).
Four RAG Retrieval Failures and How to Log Them
A technical blog post (Portuguese) explains that most retrieval-augmented generation (RAG) failures are caused by retrieval pipeline issues rather than the LLM. The author groups retrieval errors into four classes: low similarity scores (answer absent from corpus), neighbor-chunk collisions (semantic vectors conflate distinct tokens), correct context but model hallucination, and chunks truncated mid-structure. The post recommends instrumentation and logging (scores, selected chunks, chunk sizes), hybrid search (vector + BM25), rerankers, stricter system prompts requiring citations, and structure-aware chunking. Example tooling shown includes pgvector, vector similarity queries, Voyage embeddings, and Claude in a Python pipeline.
Corrective RAG Pipeline Grades, Rewrites, Reduces Hallucinations
The article describes a 'Corrective RAG' architecture for retrieval-augmented generation (RAG) that prevents hallucinations by grading retrieved documents, rewriting queries when retrieval is poor, and generating answers with citations and a confidence flag. Implemented with LangGraph and LangSmith primitives and LLMs (examples show Anthropic and OpenAI components), the pipeline treats grading as a gate, not just a filter, and caps retries (default max_rewrites=2). In the author's evaluation the approach increases latency on retry paths (~1.5s extra) but reduces hallucinated citations from ~18% to under 3%. The post also covers practical production concerns: chunking strategy (recommend ~500-char chunks with 50-char overlap), observability via per-node traces, embedding staleness, context-length capping, and multi-axis evaluation (retrieval precision, faithfulness, relevance).
Track Real-Time Market Signals & Shifts
Set up custom watchlists to receive automated, evidence-grounded executive digests whenever material signals or shifts occur across your tracked landscape.
