Reorder language and completion delimiter instructions in prompt
This commit is contained in:
parent
2c551cb5db
commit
3f56c6820c
1 changed files with 2 additions and 2 deletions
|
|
@ -26,8 +26,8 @@ For a given text and a list of entity types, extract all entities and their rela
|
||||||
- relationship_description: Explain the nature of the relationship between the source and target entities, providing a clear rationale for their connection
|
- relationship_description: Explain the nature of the relationship between the source and target entities, providing a clear rationale for their connection
|
||||||
4. Format each relationship as: (relationship{tuple_delimiter}<source_entity>{tuple_delimiter}<target_entity>{tuple_delimiter}<relationship_keywords>{tuple_delimiter}<relationship_description>)
|
4. Format each relationship as: (relationship{tuple_delimiter}<source_entity>{tuple_delimiter}<target_entity>{tuple_delimiter}<relationship_keywords>{tuple_delimiter}<relationship_description>)
|
||||||
5. Use `{tuple_delimiter}` as field delimiter. Use `{record_delimiter}` as the entity or relation list delimiter.
|
5. Use `{tuple_delimiter}` as field delimiter. Use `{record_delimiter}` as the entity or relation list delimiter.
|
||||||
6. Return identified entities and relationships in {language}.
|
6. Output `{completion_delimiter}` when all the entities and relationships are extracted.
|
||||||
7. Output `{completion_delimiter}` when all the entities and relationships are extracted.
|
7. Ensure the output language is {language}.
|
||||||
|
|
||||||
---Quality Guidelines---
|
---Quality Guidelines---
|
||||||
- Only extract entities and relationships that are clearly defined and meaningful in the context
|
- Only extract entities and relationships that are clearly defined and meaningful in the context
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue