diff --git a/graphrag/index/graph/extractors/summarize/prompts.py b/graphrag/index/graph/extractors/summarize/prompts.py index 90e4434ee8..8e544999ad 100644 --- a/graphrag/index/graph/extractors/summarize/prompts.py +++ b/graphrag/index/graph/extractors/summarize/prompts.py @@ -8,7 +8,7 @@ Given one or two entities, and a list of descriptions, all related to the same entity or group of entities. Please concatenate all of these into a single, comprehensive description. Make sure to include information collected from all the descriptions. If the provided descriptions are contradictory, please resolve the contradictions and provide a single, coherent summary. -Make sure it is written in third person, and include the entity names so we the have full context. +Make sure it is written in third person, and include the entity names so we have the full context. ####### -Data- diff --git a/graphrag/prompt_tune/template/entity_summarization.py b/graphrag/prompt_tune/template/entity_summarization.py index 60294a291b..7710ba0bdb 100644 --- a/graphrag/prompt_tune/template/entity_summarization.py +++ b/graphrag/prompt_tune/template/entity_summarization.py @@ -9,7 +9,7 @@ Given one or two entities, and a list of descriptions, all related to the same entity or group of entities. Please concatenate all of these into a single, concise description in {language}. Make sure to include information collected from all the descriptions. If the provided descriptions are contradictory, please resolve the contradictions and provide a single, coherent summary. -Make sure it is written in third person, and include the entity names so we the have full context. +Make sure it is written in third person, and include the entity names so we have the full context. Enrich it as much as you can with relevant information from the nearby text, this is very important.