From cf1ca39b3ffe20a909f3480bd46b405140168522 Mon Sep 17 00:00:00 2001 From: yangdx Date: Sun, 27 Jul 2025 10:48:29 +0800 Subject: [PATCH] Refine entity continuation prompt to avoid duplicates. - Clarify finding missing entities - Instruct not to repeat extractions --- lightrag/prompt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag/prompt.py b/lightrag/prompt.py index 656801c0..f0d48a13 100644 --- a/lightrag/prompt.py +++ b/lightrag/prompt.py @@ -151,7 +151,7 @@ Output: """ PROMPTS["entity_continue_extraction"] = """ -MANY entities and relationships were missed in the last extraction. +MANY entities and relationships were missed in the last extraction. Please find only the missing entities and relationships from previous text. ---Remember Steps--- @@ -179,7 +179,7 @@ Format the content-level key words as ("content_keywords"{tuple_delimiter}