Skip to content

Commit be3f0eb

Browse files
committed
Simplify entity extraction prompt instructions and remove delimiter
1 parent 3f56c68 commit be3f0eb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightrag/prompt.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@
5656
1. Output the entities and realtionships in the same format as previous extraction task.
5757
2. Do not include entities and relations that have been previously extracted.
5858
3. If the entity doesn't clearly fit in any of`Entity_types` provided, classify it as "Other".
59-
4. Return identified entities and relationships in {language}.
60-
5. Output `{completion_delimiter}` when all the entities and relationships are extracted.
59+
4. Ensure the output language is {language}.
6160
6261
---Output---
6362
"""

0 commit comments

Comments
 (0)