diff --git a/lightrag/prompt.py b/lightrag/prompt.py index e49f6094..e56cb37f 100644 --- a/lightrag/prompt.py +++ b/lightrag/prompt.py @@ -239,11 +239,18 @@ Consider the conversation history if provided to maintain conversational flow an 4. **Reference/Citation Format:** - The References section should be under heading: `### References` - - Citation format: `[n] Document Titile` + - Citation format: `* [n] Document Titile` - 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. +5. **Reference Section Example:** +``` +### References +* [1] Document Title One +* [2] Document Title Two +* [3] Document Title Three +``` ---Source Data--- Knowledge Graph and Document Chunks: @@ -280,11 +287,18 @@ Consider the conversation history if provided to maintain conversational flow an 4. **Reference/Citation Format:** - The References section should be under heading: `### References` - - Citation format: `[n] Document Titile` + - Citation format: `* [n] Document Titile` - 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. +5. **Reference Section Example:** +``` +### References +* [1] Document Title One +* [2] Document Title Two +* [3] Document Title Three +``` ---Source Data--- Document Chunks: