Saujanya Verma commited on
Commit
394506a
·
1 Parent(s): 22e6635

Fix: Ensure entity_or_relation_name is a string in _handle_entity_relation_summary

Browse files
Files changed (1) hide show
  1. lightrag/operate.py +1 -1
lightrag/operate.py CHANGED
@@ -218,7 +218,7 @@ async def _merge_edges_then_upsert(
218
  },
219
  )
220
  description = await _handle_entity_relation_summary(
221
- (src_id, tgt_id), description, global_config
222
  )
223
  await knowledge_graph_inst.upsert_edge(
224
  src_id,
 
218
  },
219
  )
220
  description = await _handle_entity_relation_summary(
221
+ f"({src_id}, {tgt_id})", description, global_config
222
  )
223
  await knowledge_graph_inst.upsert_edge(
224
  src_id,