From 75de40da41ad5af2c12bf321b5b95b8ba5fd0025 Mon Sep 17 00:00:00 2001 From: yangdx Date: Sun, 31 Aug 2025 17:45:16 +0800 Subject: [PATCH] Fix typo in relationship extraction log messages --- lightrag/operate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag/operate.py b/lightrag/operate.py index 5bcd75ad..b8dd8bb8 100644 --- a/lightrag/operate.py +++ b/lightrag/operate.py @@ -384,9 +384,9 @@ async def _handle_single_relationship_extraction( if len(record_attributes) < 6 or '"relationship"' not in record_attributes[0]: if len(record_attributes) > 1 and '"relationship"' in record_attributes[0]: logger.warning( - f"Relationship extraction failed in {chunk_key}: expecting 6 fields but got {len(record_attributes)}" + f"Relation extraction failed in {chunk_key}: expecting 6 fields but got {len(record_attributes)}" ) - logger.warning(f"Relationship extracted: {record_attributes[1]}") + logger.warning(f"Relation extracted: {record_attributes[1]}") return None try: