Skip to content

RAGAS

Definition

RAGAS (Retrieval-Augmented Generation Assessment) is an open-source framework for evaluating RAG systems. It provides a set of metrics computed automatically with an LLM to measure the quality of retrieval and generation.

Main Metrics

Metric Description
Faithfulness The share of claims in the answer that are supported by the context
Answer Relevancy How well the answer matches the question asked
Context Precision The precision of the retrieved fragments
Context Recall The recall of the retrieved fragments

Usage

RAGAS is used to compare different configurations of RAG pipelines, to monitor quality in production and to automate regression testing.

See Also

← All terms