Skip to content

Commit 2fb6d9e

Browse files
committed
fix: fix too long prompt line
1 parent 62f95c3 commit 2fb6d9e

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

graphgen/templates/evaluation/kg/consistency_evaluation.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,14 @@
3232
{type_extractions}
3333
3434
Preset entity type list (for reference):
35-
concept, date, location, keyword, organization, person, event, work, nature, artificial, science, technology, mission, gene
35+
concept, date, location, keyword, organization, person, event, work, nature, """
36+
"""artificial, science, technology, mission, gene
3637
37-
Please determine whether these types have semantic conflicts (i.e., whether they describe the same category of things, or if there are contradictions).
38-
Note: If types are just different expressions of the same concept (such as concept and keyword), it may not be considered a serious conflict.
38+
Please determine whether these types have semantic conflicts """
39+
"""(i.e., whether they describe the same category of things, """
40+
"""or if there are contradictions).
41+
Note: If types are just different expressions of the same concept """
42+
"""(such as concept and keyword), it may not be considered a serious conflict.
3943
4044
Please return in JSON format:
4145
{{
@@ -77,7 +81,9 @@
7781
Descriptions from different text blocks:
7882
{descriptions}
7983
80-
Please determine whether these descriptions have semantic conflicts (i.e., whether they describe the same entity, or if there is contradictory information).
84+
Please determine whether these descriptions have semantic conflicts """
85+
"""(i.e., whether they describe the same entity, """
86+
"""or if there is contradictory information).
8187
8288
Please return in JSON format:
8389
{{

0 commit comments

Comments
 (0)