OI RAG Evaluator: A Comprehensive Evaluation Framework for Retrieval-Augmented Generation Systems

June 10, 2025

3 Minutes Read

1. Introduction

The OI RAG Evaluator is a framework designed to assess the performance and quality of Retrieval-Augmented Generation (RAG) systems. Our evaluator aims to provide a holistic assessment of RAG systems, covering various aspects of their performance.

2. RAG System Overview

Before diving into the evaluator, let’s briefly review the components of a RAG system:

image-20240910-115125.png
  1. Retriever: Finds relevant documents from a knowledge base based on the user’s query.
  2. Generator: Uses the retrieved documents and the query to generate a response.

3. OI RAG Evaluator Components

Our evaluator consists of several key components:

image-20240924-053328.png
  • Claim Extractor: Identifies key claims from the generated response and ground truth.
  • Claim Checker: Verifies the extracted claims against the retrieved context and ground truth.
  • Metric Calculator: Computes various metrics based on the extracted and checked claims.

This diagram illustrates the relationship between the ground truth, model response, retrieved chunks, and the various metrics we use to evaluate the RAG system’s performance.

image-20240910-120145.png
image-20240910-120235.png

4. Evaluation Metrics

The OI RAG Evaluator uses a comprehensive set of metrics to assess different aspects of the RAG system’s performance. These metrics are grouped into three categories:

Category Metrics Description
Overall Metrics Precision, Recall, F1 Measure the overall accuracy of the generated response
Retriever Metrics Claim Recall, Context Precision Assess the quality of the retrieved documents
Generator Metrics Context Utilization, Noise Sensitivity, Hallucination, Self-Knowledge, Faithfulness Evaluate the generator’s performance and behavior

4.1 Metric Descriptions

  1. Overall Metrics
    • Precision: Accuracy of the claims in the generated response
    • Recall: Proportion of ground truth claims covered in the response
    • F1: Harmonic mean of precision and recall
  2. Retriever Metrics
    • Claim Recall: Proportion of ground truth claims supported by retrieved documents
    • Context Precision: Relevance of retrieved documents to the query
  3. Generator Metrics
    • Context Utilization: How well the generator uses the retrieved context
    • Noise Sensitivity: Generator’s resilience to irrelevant information
    • Hallucination: Tendency to generate unfounded information
    • Self-Knowledge: Ability to rely on its own knowledge when appropriate
    • Faithfulness: Consistency of the response with the retrieved context

5. Evaluation Process

The OI RAG Evaluator follows a systematic process to assess RAG system performance:

  1. The user submits RAG results, including queries, retrieved documents, generated responses, and ground truth.
  2. The Claim Extractor identifies key claims from the generated responses and ground truth.
  3. The Claim Checker verifies these claims against the retrieved context and ground truth.
  4. The Metric Calculator computes various metrics based on the extracted and checked claims.
  5. The Evaluator aggregates the results and provides a comprehensive evaluation report.

6. Future Directions

  1. Domain-Specific Metrics: Develop metrics tailored to specific domains or use cases.
  2. Integration with OI Agents: Develop plugins for our OI Agents platform for seamless integration into development workflows.

 

Related Articles

February 3, 2026

AI platforms don’t fail politely. While enterprises already collect vast amounts of telemetry, the real challenge is turning signals into explanations fast enough to matter. This post explores how locally deployed LLMs can reason over infrastructure data, correlate failures across domains, and produce evidence-backed remediation guidance without exporting sensitive operational context outside the customer boundary.

January 27, 2026

Europe isn’t racing to win the AI scale war, it’s defining the rules of trusted AI. Through the EU AI Act, GDPR, and the Digital Services Act, the EU is turning regulation into industrial strategy, reshaping global markets, and accelerating the sovereign AI movement.

Stay Ahead of the
AI Curve