What problem does it solve? Retrieval-Augmented Generation systems fail in two distinct ways: retrieval failures (wrong documents fetched) and context-answer mismatches (right documents, wrong answer). Without layer-by-layer evaluation, teams cannot tell whether to fix chunking, embeddings, retrieval ranking, or the LLM prompt when answers degrade. ## Core Features & Use Cases - Five-Layer Validation: Independently scores chunking coherence, embedding quality, retrieval precision/recall/MRR, hybrid ranking via Reciprocal Rank Fusion, and end-to-end answer correctness with hallucination detection. - Hybrid Search Comparison: Benchmarks semantic-only retrieval against semantic + BM25 fusion to catch exact-match queries like discount codes or incident IDs. - Production Gates: Multi-run evaluation with confidence intervals per IEEE 29119-2, plus CI/CD thresholds such as retrieval precision ≥ 0.85 and hallucination rate ≤ 0.05. - Use Case: A chatbot answering questions from a policy knowledge base retrieves the refund policy but hallucinates processing times. The skill isolates the failure to Layer 5 (generation) rather than Layer 3 (retrieval), so the team fixes the prompt instead of re-chunking documents. ## Quick Start Ask the AI to evaluate your RAG pipeline by running the 5-layer assessment against your knowledge base chunks and a set of golden test queries with known relevant documents.