From bb6138e7486bb75f5a8f28060074d5e363c81de7 Mon Sep 17 00:00:00 2001 From: yangdx Date: Wed, 1 Oct 2025 22:35:26 +0800 Subject: [PATCH] fix(prompt): Clarify reference section restrictions in prompt templates --- lightrag/prompt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag/prompt.py b/lightrag/prompt.py index ded23c7e..d639b4b8 100644 --- a/lightrag/prompt.py +++ b/lightrag/prompt.py @@ -246,7 +246,7 @@ Consider the conversation history if provided to maintain conversational flow an - The Document Title in the citation must retain its original language. - Output each citation on an individual line - Provide maximum of 5 most relevant citations. - - Do not generate footnotes section or any text after the references. + - Do not generate footnotes section or any comment, summary, or explanation after the references. **5. Reference Section Example:** ``` @@ -300,7 +300,7 @@ Consider the conversation history if provided to maintain conversational flow an - The Document Title in the citation must retain its original language. - Output each citation on an individual line - Provide maximum of 5 most relevant citations. - - Do not generate footnotes section or any text after the references. + - Do not generate footnotes section or any comment, summary, or explanation after the references. **5. Reference Section Example:** ```