From 5a33ce1c1af34918fdf7457285c719a128b26cd7 Mon Sep 17 00:00:00 2001 From: Saujanya Verma Date: Fri, 6 Dec 2024 20:54:01 +0530 Subject: [PATCH] Fix: Ensure entity_or_relation_name is a string in _handle_entity_relation_summary --- lightrag/operate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/operate.py b/lightrag/operate.py index acbdf072..61c8058c 100644 --- a/lightrag/operate.py +++ b/lightrag/operate.py @@ -218,7 +218,7 @@ async def _merge_edges_then_upsert( }, ) description = await _handle_entity_relation_summary( - (src_id, tgt_id), description, global_config + f"({src_id}, {tgt_id})", description, global_config ) await knowledge_graph_inst.upsert_edge( src_id,