From 77569ddea2677af3ca3dfc81c93eb316044759a2 Mon Sep 17 00:00:00 2001 From: yangdx Date: Wed, 17 Sep 2025 02:21:11 +0800 Subject: [PATCH] Add chunk key to entity extraction logging output --- lightrag/operate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/operate.py b/lightrag/operate.py index fab5ea2e..195343f3 100644 --- a/lightrag/operate.py +++ b/lightrag/operate.py @@ -2163,7 +2163,7 @@ async def extract_entities( processed_chunks += 1 entities_count = len(maybe_nodes) relations_count = len(maybe_edges) - log_message = f"Chunk {processed_chunks} of {total_chunks} extracted {entities_count} Ent + {relations_count} Rel" + log_message = f"Chunk {processed_chunks} of {total_chunks} extracted {entities_count} Ent + {relations_count} Rel {chunk_key}" logger.info(log_message) if pipeline_status is not None: async with pipeline_status_lock: