Ragas
Metrics and test-set generation for evaluating RAG pipelines and agents.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat it is
Ragas provides metrics for retrieval-augmented generation and agents, such as faithfulness, context precision and answer relevance, and can generate synthetic test sets from your documents.
Best for
Measuring how well a RAG pipeline retrieves context and uses it in answers.
Skills it helps with
Learn Ragas by doing
- Evaluate RAG answers with a golden dataset
Set up RAG evaluation with a golden dataset and promptfoo: score retrieval, correctness and grounding for every question, and fail CI when answer quality drops.
- RAG troubleshooting cheat sheet
Why a RAG system gives wrong answers, and what to check first: wrong document, right document but wrong answer, missing recent data, slow queries, with fixes.
Related tools
DeepEval
Open-source, pytest-style framework for evaluating LLM apps, RAG and agents.
Inspect
The UK AI Security Institute's open-source framework for LLM and agent evals.
MLflow
Open-source ML and GenAI platform with tracing, evaluation and prompt management.
W&B Weave
Weights & Biases toolkit for tracing, evaluating and comparing LLM applications.
Arize Phoenix
Source-available tracing and evaluation for LLM applications, built on OpenTelemetry.
Braintrust
Platform for tracing production LLM traffic, running evals and catching regressions.