Ragas

A library for quantifying RAG performance with comprehensive metrics

What it is

An open library focused on evaluating retrieval-augmented systems, offering metrics such as faithfulness, relevancy and context precision so RAG quality stops being judged by feel.

Highlights

  • Metrics like faithfulness and relevancy
  • Makes RAG quality measurable and comparable
  • Integrates with major frameworks for auto-collection
  • Supports custom evaluation sets

How to use

Prepare an evaluation set, call the evaluation API, then get quantitative scores per metric.

License

Released under Apache-2.0. Read the terms before commercial use or redistribution, especially if you plan to offer it as a service.