Skip to content

Commit bfc1d18

Browse files
fix: update prompt for protein_kg
1 parent 6cd16dc commit bfc1d18

File tree

4 files changed

+2
-74
lines changed

4 files changed

+2
-74
lines changed

graphgen/templates/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from .anchor import PROTEIN_ANCHOR_PROMPT
21
from .coreference_resolution import COREFERENCE_RESOLUTION_PROMPT
32
from .description_rephrasing import DESCRIPTION_REPHRASING_PROMPT
43
from .extraction import SCHEMA_GUIDED_EXTRACTION_PROMPT

graphgen/templates/anchor/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

graphgen/templates/anchor/protein_anchor.py

Lines changed: 0 additions & 70 deletions
This file was deleted.

graphgen/templates/kg/protein_kg_extraction.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
2. All entities that are **directly related** to this central protein.
99
3. All relationships that **directly link** those entities to the central protein (star edges).
1010
11-
Use English as the output language.
11+
Use English as the output language. Please provide only the result without any extra explanations.
1212
1313
-Steps-
1414
1. Identify the **central protein entity** and all **directly-related entities** from the text.
@@ -76,7 +76,7 @@
7676
2. 识别所有与中心蛋白**直接相关**的实体。
7777
3. 仅保留**中心蛋白→相关实体**的直接关系(星型边)。
7878
79-
使用中文输出。
79+
使用中文输出。请直接给出结果,不要增加额外说明。
8080
8181
-步骤-
8282
1. 确定**中心蛋白质实体**及所有**直接相关实体**。

0 commit comments

Comments
 (0)