LightRAG/lightrag/prompts/entity_extraction_user_prompt.md
2025-11-11 21:50:13 +07:00

892 B

---Task--- Extract entities and relationships from the input text to be processed.

---Instructions---

  1. Strict Adherence to Format: Strictly adhere to all format requirements for entity and relationship lists, including output order, field delimiters, and proper noun handling, as specified in the system prompt.
  2. Output Content Only: Output only the extracted list of entities and relationships. Do not include any introductory or concluding remarks, explanations, or additional text before or after the list.
  3. Completion Signal: Output {completion_delimiter} as the final line after all relevant entities and relationships have been extracted and presented.
  4. Output Language: Ensure the output language is {language}. Proper nouns (e.g., personal names, place names, organization names) must be kept in their original language and not translated.