ragas

Evaluate RAG pipelines on faithfulness, answer relevancy, context precision, and recall.

2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/DTMC-marketplace/governance --skill ragas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ragas
Source: https://github.com/DTMC-marketplace/governance/tree/main/skills/ragas
Command: npx skills add https://github.com/DTMC-marketplace/governance --skill ragas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of objectively evaluating the performance and quality of Retrieval Augmented Generation (RAG) pipelines, ensuring they are faithful, relevant, and accurate.

Core Features & Use Cases

  • RAGAS Evaluation: Measures faithfulness, answer relevancy, context precision, and context recall.
  • Compliance Assessment: Helps evaluate AI systems against EU AI Act Art. 15 requirements related to performance and risk.
  • Risk Mitigation: Implements controls for performance risks by identifying weaknesses in RAG systems.
  • Use Case: A developer building a customer support chatbot powered by RAG can use this skill to test if the chatbot's answers are factually correct based on the provided context and if the context used is relevant to the user's query.

Quick Start

Use the ragas skill to evaluate the faithfulness of generated answers against the provided context.

Frequently Asked Questions about ragas

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I evaluate the performance of a RAG pipeline?

To evaluate a RAG pipeline, you measure key metrics such as faithfulness, answer relevancy, context precision, and context recall. This process identifies factual weaknesses in generated answers and retrieves relevant context for user queries.

What does faithfulness mean in RAG evaluation?

Faithfulness in RAG evaluation measures whether the generated answer is factually correct and consistent with the provided context. It ensures the retrieval augmented generation pipeline does not hallucinate information outside the source documents.

Can I use RAG evaluation to check EU AI Act compliance?

Yes, you can assess EU AI Act compliance by evaluating AI system performance and risk mitigation against Article 15 requirements. This involves measuring RAG pipeline quality metrics to implement necessary performance risk controls.

How do I test if my customer support chatbot gives relevant answers?

To test if a RAG chatbot gives relevant answers, you evaluate answer relevancy and context precision metrics. This verifies that the chatbot's responses are factually correct based on provided context and relevant to the user's query.

What is context recall and precision in retrieval augmented generation?

Context precision and context recall are RAG metrics measuring retrieval quality. Context precision evaluates if the retrieved context is relevant to the query, while context recall checks if all necessary information was successfully retrieved from the source.

How do I identify weaknesses in my RAG system?

You identify weaknesses in a RAG system by running objective performance analysis on faithfulness, answer relevancy, context precision, and context recall. This evaluation mitigates performance risks by pinpointing exactly where the pipeline fails.