diff --git a/.semversioner/next-release/patch-20240814063732868394.json b/.semversioner/next-release/patch-20240814063732868394.json new file mode 100644 index 0000000000..78d685231b --- /dev/null +++ b/.semversioner/next-release/patch-20240814063732868394.json @@ -0,0 +1,4 @@ +{ + "type": "patch", + "description": "Fixed a bug in prompt tuning process" +} diff --git a/graphrag/prompt_tune/prompt/entity_relationship.py b/graphrag/prompt_tune/prompt/entity_relationship.py index 3af77db641..66eefa9947 100644 --- a/graphrag/prompt_tune/prompt/entity_relationship.py +++ b/graphrag/prompt_tune/prompt/entity_relationship.py @@ -22,7 +22,7 @@ - relationship_strength: an integer score between 1 to 10, indicating strength of the relationship between the source entity and target entity Format each relationship as ("relationship"{{tuple_delimiter}}{{tuple_delimiter}}{{tuple_delimiter}}{{tuple_delimiter}}) -3. Return output in {language} as a single list of all the entities and relationships identified in steps 1 and 2. Use **{{record_delimiter}}** as the list delimiter. +3. Return output in {language} as a single list of all the entities and relationships identified in steps 1 and 2. Use {{record_delimiter}} as the list delimiter. 4. If you have to translate into {language}, just translate the descriptions, nothing else!