Supercharge Your LLM Application Evaluations 🚀
Supercharge Your LLM Application Evaluations 🚀
Documentation | Quick start | Join Discord | Blog | NewsLetter | Careers
Objective metrics, intelligent test generation, and data-driven insights for LLM apps
Ragas is your ultimate toolkit for evaluating and optimizing Large Language Model (LLM) applications. Say goodbye to time-consuming, subjective assessments and hello to data-driven, efficient evaluation workflows. Don't have a test dataset ready? We also do production-aligned test set generation.
Pypi:
pip install ragasAlternatively, from source:
pip install git+https://github.com/vibrantlabsai/ragasThe fastest way to get started is to use the ragas quickstart command:
# List available templates
ragas quickstart
# Create a RAG evaluation project
ragas quickstart rag_eval
# Specify where you want to create it.
ragas quickstart rag_eval -o ./my-projectAvailable templates:
rag_eval - Evaluate RAG systemsComing Soon:
agent_evals - Evaluate AI agentsbenchmark_llm - Benchmark and compare LLMsprompt_evals - Evaluate prompt variationsworkflow_eval - Evaluate complex workflowsragas comes with pre-built metrics for common evaluation tasks. For example, Aspect Critique evaluates any aspect of your output using DiscreteMetric:
…Note: Make sure your
OPENAI_API_KEYenvironment variable is set.
Find the complete Quickstart Guide
In the past 2 years, we have seen and helped improve many AI applications using evals. If you want help with improving and scaling up your AI application using evals.
🔗 Book a slot or drop us a line: [email protected].
If you want to get more involved with Ragas, check out our discord server. It's a fun community where we geek out about LLM, Retrieval, Production issues, and more.
…We welcome contributions from the community! Whether it's bug fixes, feature additions, or documentation improvements, your input is valuable.
At Ragas, we believe in transparency. We collect minimal, anonymized usage data to improve our product and guide our development efforts.
✅ No personal or company-identifying information
✅ Open-source data collection code
✅ Publicly available aggregated data
To opt-out, set the RAGAS_DO_NOT_TRACK environment variable to true.
@misc{ragas2024,
author = {VibrantLabs},
title = {Ragas: Supercharge Your LLM Application Evaluations},
year = {2024},
howpublished = {\url{https://github.com/vibrantlabsai/ragas}},
}New metric: structural filter-correctness for metadata-filtered retrieval
A row that errors leaves the denominator, so the reported score rises as the system degrades
Is this project actively maintained at this point?
answer_relevancy blocks the entire event loop via synchronous embed_query/embed_documents, stalling unrelated concurrent tasks under evaluate()
[Feature] First-class decision model abstraction for bounded metric judgments
griptape integration: ImportError raised when griptape is missing tells the user to install opik
llm_factory: OpenAI GPT-6 Sol/Luna/Astra on Amazon Bedrock fail with 400 because Bedrock model IDs (openai.gpt-6-sol) skip the GPT-5+ parameter mapping
Ubuntu bug,but everything is normal on Windows
BleuScore evaluates only the first sentence (corpus_bleu reference structure bug)
get_token_usage_for_bedrock always returns 0 (reads wrong response_metadata keys for langchain-aws ChatBedrock/ChatBedrockConverse)