Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

ragas

> AI 编程
Open source

Supercharge Your LLM Application Evaluations 🚀

15.1K stars0 likes4 views
WebsiteGitHub

About

Supercharge Your LLM Application Evaluations 🚀

Supercharge Your LLM Application Evaluations 🚀

</a>
<a href="https://www.python.org/">
    
</a>
<a href="https://github.com/vibrantlabsai/ragas/blob/master/LICENSE">
    
</a>
<a href="https://pypi.org/project/ragas/">
    
</a>
<a href="https://discord.gg/5djav8GGNZ">
    
</a>
<a target="_blank" href="https://deepwiki.com/vibrantlabsai/ragas">
  
</a>

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.

Key Features

  • 🎯 Objective Metrics: Evaluate your LLM applications with precision using both LLM-based and traditional metrics.
  • 🧪 Test Data Generation: Automatically create comprehensive test datasets covering a wide range of scenarios.
  • 🔗 Seamless Integrations: Works flawlessly with popular LLM frameworks like LangChain and major observability tools.
  • 📊 Build feedback loops: Leverage production data to continually improve your LLM applications.

:shield: Installation

Pypi:

bash
pip install ragas

Alternatively, from source:

bash
pip install git+https://github.com/vibrantlabsai/ragas

:fire: Quickstart

Clone a Complete Example Project

The fastest way to get started is to use the ragas quickstart command:

bash
# 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-project

Available templates:

  • rag_eval - Evaluate RAG systems

Coming Soon:

  • agent_evals - Evaluate AI agents
  • benchmark_llm - Benchmark and compare LLMs
  • prompt_evals - Evaluate prompt variations
  • workflow_eval - Evaluate complex workflows

Evaluate your LLM App

ragas 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_KEY environment variable is set.

Find the complete Quickstart Guide

Want help in improving your AI application using evals?

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].

🫂 Community

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.

Contributors

…

We welcome contributions from the community! Whether it's bug fixes, feature additions, or documentation improvements, your input is valuable.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

🔍 Open Analytics

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.

Cite Us

@misc{ragas2024,
  author       = {VibrantLabs},
  title        = {Ragas: Supercharge Your LLM Application Evaluations},
  year         = {2024},
  howpublished = {\url{https://github.com/vibrantlabsai/ragas}},
}

Issues· 622 open

View all issuesOpen on GitHub
  • #3045

    New metric: structural filter-correctness for metadata-filtered retrieval

    enhancementUpdated Oct 1, 2026
  • #3028

    A row that errors leaves the denominator, so the reported score rises as the system degrades

    Updated Sep 29, 2026
  • #3004

    Is this project actively maintained at this point?

    questionUpdated Sep 28, 2026
  • #3040

    answer_relevancy blocks the entire event loop via synchronous embed_query/embed_documents, stalling unrelated concurrent tasks under evaluate()

    bugUpdated Sep 27, 2026
  • #3030

    [Feature] First-class decision model abstraction for bounded metric judgments

    enhancementUpdated Sep 25, 2026
  • #3032

    griptape integration: ImportError raised when griptape is missing tells the user to install opik

    Updated Sep 25, 2026
  • #3031

    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

    Updated Sep 24, 2026
  • #2056

    Ubuntu bug,but everything is normal on Windows

    bugUpdated Sep 23, 2026
  • #2888

    BleuScore evaluates only the first sentence (corpus_bleu reference structure bug)

    Updated Sep 23, 2026
  • #2779

    get_token_usage_for_bedrock always returns 0 (reads wrong response_metadata keys for langchain-aws ChatBedrock/ChatBedrockConverse)

    Updated Sep 21, 2026

> Tags

Pythonevaluationllmllmops

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.