LightRAG/lightrag
clssck c5f230a30c test: fix env handling, add type hints, improve docs
Improve code quality and test robustness:
- Refactor environment variable parsing in rerank config using centralized get_env_value helper
- Add return type hints to all test methods for better type safety
- Fix patch path in test from lightrag.utils to lightrag.rerank for correct import location
- Clarify batch insert endpoint behavior regarding duplicate content rejection
- Expand .dockerignore to comprehensively exclude node_modules (200MB+), Python cache files, and venv directories
- Update dependency groups: align evaluation and test extras with pytest/pre-commit/ruff tools
2025-12-03 15:02:11 +01:00
..
api test: fix env handling, add type hints, improve docs 2025-12-03 15:02:11 +01:00
entity_resolution feat: add automatic entity resolution with 3-layer matching 2025-11-27 15:35:02 +01:00
evaluation chore: add citation system and enhance RAG UI components 2025-12-01 17:50:00 +01:00
kg chore: sync with upstream HKUDS/LightRAG 2025-12-01 21:30:19 +01:00
llm chore: sync with upstream HKUDS/LightRAG 2025-12-01 21:30:19 +01:00
tools Refactor main function to provide sync CLI entry point 2025-11-21 13:11:55 +08:00
__init__.py Bump core version to 1.4.9.9 and API to 0252 2025-11-08 11:27:26 +08:00
base.py feat: add db_degree visibility and orphan connection UI 2025-11-29 21:08:07 +01:00
citation.py chore: add citation system and enhance RAG UI components 2025-12-01 17:50:00 +01:00
constants.py chore: add citation system and enhance RAG UI components 2025-12-01 17:50:00 +01:00
exceptions.py Fix ChunkTokenLimitExceededError message formatting 2025-11-19 18:50:45 +08:00
lightrag.py chore: add citation system and enhance RAG UI components 2025-12-01 17:50:00 +01:00
namespace.py Add entity/relation chunk tracking with configurable source ID limits 2025-10-20 15:24:15 +08:00
operate.py chore: add citation system and enhance RAG UI components 2025-12-01 17:50:00 +01:00
prompt.py chore(lightrag): remove legacy prompts and clean up prompt.py 2025-12-01 21:02:44 +01:00
rerank.py chore: sync with upstream (#4) 2025-12-03 13:16:28 +01:00
types.py
utils.py Fix double decoration in azure_openai_embed and document decorator usage 2025-11-21 18:03:53 +08:00
utils_graph.py Improve entity merge logging by removing redundant message and fixing typo 2025-10-31 17:16:59 +08:00