LightRAG/docs
Claude 9b4831d84e
Add comprehensive RAGAS evaluation framework guide
This guide provides a complete introduction to RAGAS (Retrieval-Augmented Generation Assessment):

**Core Concepts:**
- What is RAGAS and why it's needed for RAG system evaluation
- Automated, quantifiable, and trackable quality assessment

**Four Key Metrics Explained:**
1. Context Precision (0.7-1.0): How relevant are retrieved documents?
2. Context Recall (0.7-1.0): Are all key facts retrieved?
3. Faithfulness (0.7-1.0): Is the answer grounded in context (no hallucination)?
4. Answer Relevancy (0.7-1.0): Does the answer address the question?

**How It Works:**
- Uses evaluation LLM to judge answer quality
- Workflow: test dataset → run RAG → RAGAS scores → optimization insights
- Integrated with LightRAG's existing evaluation module

**Practical Usage:**
- Quick start guide for LightRAG users
- Real output examples with interpretation
- Cost analysis (~$1-2 per 100 questions with GPT-4o-mini)
- Optimization strategies based on low-scoring metrics

**Limitations & Best Practices:**
- Depends on evaluation LLM quality
- Requires high-quality ground truth answers
- Recommended hybrid approach: RAGAS (scale) + human review (depth)
- Decision matrix for when to use RAGAS vs alternatives

**Use Cases:**
 Comparing different configurations/models
 A/B testing new features
 Continuous performance monitoring
 Single component evaluation (use Precision/Recall instead)

Helps users understand and effectively use RAGAS for RAG system quality assurance.
2025-11-19 12:52:22 +00:00
..
Algorithm.md Create Algorithm.md 2025-01-24 21:19:04 +01:00
DockerDeployment.md Add BuildKit cache mounts to optimize Docker build performance 2025-11-03 12:40:30 +08:00
EvaluatingEntityRelationQuality-zh.md Add comprehensive entity/relation extraction quality evaluation guide 2025-11-19 12:45:31 +00:00
FrontendBuildGuide.md Use frozen lockfile for consistent frontend builds 2025-10-14 03:34:55 +08:00
LightRAG_concurrent_explain.md Update README 2025-07-27 17:26:49 +08:00
OfflineDeployment.md refactor: move document deps to api group, remove dynamic imports 2025-11-13 13:34:09 +08:00
PerformanceFAQ-zh.md Add comprehensive performance FAQ addressing max_async, LLM selection, and database optimization 2025-11-19 10:21:58 +00:00
PerformanceOptimization-zh.md Add performance optimization guide and configuration for LightRAG indexing 2025-11-19 09:55:28 +00:00
PerformanceOptimization.md Add performance optimization guide and configuration for LightRAG indexing 2025-11-19 09:55:28 +00:00
SelfHostedOptimization-zh.md Add comprehensive self-hosted LLM optimization guide for LightRAG 2025-11-19 10:53:48 +00:00
UV_LOCK_GUIDE.md Migrate Dockerfile from pip to uv package manager for faster builds 2025-10-16 01:54:20 +08:00
WhatIsGleaning-zh.md Add comprehensive guide explaining gleaning concept in LightRAG 2025-11-19 11:45:07 +00:00
WhatIsRAGAS-zh.md Add comprehensive RAGAS evaluation framework guide 2025-11-19 12:52:22 +00:00