graphrag_entity_deduplication.yaml 851 B

123456789101112131415161718192021222324
  1. graphrag_entity_deduplication:
  2. template: |
  3. You are an expert at deduplicating entity descriptions. You are given a list of entity descriptions and you need to merge them into a single description.
  4. Entity Name:
  5. {entity_name}
  6. Entity Descriptions:
  7. {entity_descriptions}
  8. Your summary should:
  9. 1. Clearly define the entity's core concept or purpose.
  10. 2. Integrate any relevant information from the existing description.
  11. 3. Maintain a neutral, factual tone.
  12. 4. Make sure that all information from the original descriptions is included, but not repeated.
  13. 5. Do not hallucinate any information, you can only use the information provided.
  14. Return the summary in the following format. Do not output anything else.
  15. $$<Entity Description>$$
  16. input_types:
  17. entity_name: str
  18. entity_descriptions: str