LightRAG/lightrag
anouarbm 8650307e65 feat(evaluation): Add sample documents for reproducible RAGAS testing
Add 5 markdown documents that users can index to reproduce evaluation results.

Changes:
- Add sample_documents/ folder with 5 markdown files covering LightRAG features
- Update sample_dataset.json with 3 improved, specific test questions
- Shorten and correct evaluation README (removed outdated info about mock responses)
- Add sample_documents reference with expected ~95% RAGAS score

Test Results with sample documents:
- Average RAGAS Score: 95.28%
- Faithfulness: 100%, Answer Relevance: 96.67%
- Context Recall: 88.89%, Context Precision: 95.56%

(cherry picked from commit a172cf893d)
2025-12-04 19:11:09 +08:00
..
api fix(docs): correct typo "acivate" → "activate" 2025-12-04 19:11:08 +08:00
evaluation feat(evaluation): Add sample documents for reproducible RAGAS testing 2025-12-04 19:11:09 +08:00
kg Add retry decorators to Neo4j read operations for resilience 2025-12-04 19:09:08 +08:00
llm Improve Langfuse integration and stream response cleanup handling 2025-12-04 19:11:08 +08:00
models tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
services tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
tools Improve LightRAG initialization checker tool with better usage docs 2025-12-04 19:09:05 +08:00
__init__.py Bump core version to 1.4.9.1 2025-09-28 15:25:02 +08:00
base.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
constants.py fix: sync core modules with upstream for compatibility 2025-12-04 19:10:46 +08:00
exceptions.py fix: sync core modules with upstream for compatibility 2025-12-04 19:10:46 +08:00
lightrag.py fix: sync core modules with upstream for compatibility 2025-12-04 19:10:46 +08:00
namespace.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
operate.py fix: sync core modules with upstream for compatibility 2025-12-04 19:10:46 +08:00
prompt.py Improve prompt clarity by standardizing terminology and formatting 2025-09-28 13:31:55 +08:00
rerank.py Improve edge case handling for max_tokens=1 2025-12-04 19:09:07 +08:00
security.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
tenant_rag_manager.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
types.py
utils.py Optimize JSON write with fast/slow path to reduce memory usage 2025-12-04 19:09:04 +08:00
utils_context.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
utils_graph.py Improve entity merge logging by removing redundant message and fixing typo 2025-12-04 19:09:02 +08:00