graphrag_entity_description.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. graphrag_entity_description:
  2. template: |
  3. Given the following information about an entity:
  4. Document Summary:
  5. {document_summary}
  6. Entity Information:
  7. {entity_info}
  8. Relationship Data:
  9. {relationships_txt}
  10. Generate a comprehensive entity description that:
  11. 1. Opens with a clear definition statement identifying the entity's primary classification and core function
  12. 2. Incorporates key data points from both the document summary and relationship information
  13. 3. Emphasizes the entity's role within its broader context or system
  14. 4. Highlights critical relationships, particularly those that:
  15. - Demonstrate hierarchical connections
  16. - Show functional dependencies
  17. - Indicate primary use cases or applications
  18. Format Requirements:
  19. - Length: 2-3 sentences
  20. - Style: Technical and precise
  21. - Structure: Definition + Context + Key Relationships
  22. - Tone: Objective and authoritative
  23. Integration Guidelines:
  24. - Prioritize information that appears in multiple sources
  25. - Resolve any conflicting information by favoring the most specific source
  26. - Include temporal context if relevant to the entity's current state or evolution
  27. Output should reflect the entity's complete nature while maintaining concision and clarity.
  28. input_types:
  29. document_summary: str
  30. entity_info: str
  31. relationships_txt: str