From e02425c80e17c2dd49696cc59a06ee93d481746d Mon Sep 17 00:00:00 2001 From: mountain Date: Thu, 12 Sep 2024 10:12:34 +0800 Subject: [PATCH] fix strategy set twice --- graphrag/config/create_graphrag_config.py | 1 - 1 file changed, 1 deletion(-) diff --git a/graphrag/config/create_graphrag_config.py b/graphrag/config/create_graphrag_config.py index a0e78952b6..2a0f72daab 100644 --- a/graphrag/config/create_graphrag_config.py +++ b/graphrag/config/create_graphrag_config.py @@ -429,7 +429,6 @@ def hydrate_parallelization_params( or defs.ENTITY_EXTRACTION_ENTITY_TYPES, max_gleanings=max_gleanings, prompt=reader.str("prompt", Fragment.prompt_file), - strategy=entity_extraction_config.get("strategy"), encoding_model=reader.str(Fragment.encoding_model), strategy=entity_extraction_config.get("strategy"), )