LightRAG/lightrag
yangdx 68653f853a fix: handle missing 'weight' attribute in edge data to prevent KeyError
- Add validation in _find_most_related_edges_from_entities and  _get_edge_data function during edge data construction
- Add warning logs when 'weight' attribute is missing and set default value of 0.0
2025-05-11 11:16:32 +08:00
..
api Refactor: Move get_env_value from api.config to utils 2025-05-10 08:58:18 +08:00
kg Merge branch 'allow_max_connection_config' into pg-max-connection 2025-05-09 14:16:53 +08:00
llm Fix streaming problem for OpenAI 2025-05-09 15:54:54 +08:00
tools Revert "Cleanup of code" 2025-02-20 15:09:43 +01:00
__init__.py Bump core api to 1.3.7 2025-04-30 10:28:04 +08:00
base.py Fix linting 2025-05-08 04:29:43 +08:00
constants.py feat: Centralize configuration and update defaults 2025-05-06 22:00:43 +08:00
exceptions.py
lightrag.py Refactor: Move get_env_value from api.config to utils 2025-05-10 08:58:18 +08:00
llm.py
namespace.py
operate.py fix: handle missing 'weight' attribute in edge data to prevent KeyError 2025-05-11 11:16:32 +08:00
prompt.py Optimizing query prompt 2025-05-08 12:53:28 +08:00
types.py Add is_truncated to graph query for NetworkX graph db 2025-04-02 22:12:20 +08:00
utils.py Refactor: Move get_env_value from api.config to utils 2025-05-10 08:58:18 +08:00
utils_graph.py Fix file_path missing in acreate_entity and acreate_relation 2025-04-26 22:15:54 +08:00