LightRAG/lightrag
yangdx c8ecfa2d68 feat: Centralize configuration and update defaults
This commit introduces `lightrag/constants.py` to centralize default values for various configurations across the API and core components.

Key changes:
- Added `constants.py` to centralize default values
- Improved the `get_env_value` function in `api/config.py` to correctly handle string "None" as a None value and to catch `TypeError` during value conversion.
- Updated the default `SUMMARY_LANGUAGE` to "English"
- Set default `WORKERS` to 2
2025-05-06 22:00:43 +08:00
..
api feat: Centralize configuration and update defaults 2025-05-06 22:00:43 +08:00
kg Update postgres_impl.py 2025-05-05 23:55:19 +10:00
llm made bedrock complete generic 2025-05-02 18:25:48 +02:00
tools
__init__.py Bump core api to 1.3.7 2025-04-30 10:28:04 +08:00
base.py Fix linting 2025-04-15 12:34:04 +08:00
constants.py feat: Centralize configuration and update defaults 2025-05-06 22:00:43 +08:00
exceptions.py
lightrag.py feat: Centralize configuration and update defaults 2025-05-06 22:00:43 +08:00
llm.py
namespace.py
operate.py Skip self-referential relationships in edge processing 2025-05-05 11:58:33 +08:00
prompt.py Update prompt.py 2025-04-21 16:04:19 +08:00
types.py
utils.py feat: Centralize configuration and update defaults 2025-05-06 22:00:43 +08:00
utils_graph.py Fix file_path missing in acreate_entity and acreate_relation 2025-04-26 22:15:54 +08:00