RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix: missing graph resolution and community extraction in graphrag tasks (#7586)
alkscr4ae8f8775423
diff --git a/graphrag/general/index.py b/graphrag/general/index.pyindex 06aef6b480..4aa73ac40b 100644--- a/graphrag/general/index.py+++ b/graphrag/general/index.py@@ -88,7 +88,7 @@ async def run_graphrag()assert new_graph is not None- if not with_resolution or not with_community:+ if not with_resolution and not with_community:returnif with_resolution:diff --git a/rag/svr/task_executor.py b/rag/svr/task_executor.pyindex 14ce6fc533..51de6950bc 100644--- a/rag/svr/task_executor.py+++ b/rag/svr/task_executor.py@@ -537,9 +537,9 @@ async def do_handle_task(task):elif task.get("task_type", "") == "graphrag":global task_limitertask_limiter = trio.CapacityLimiter(2)- graphrag_conf = task_parser_config.get("graphrag", {})- if not graphrag_conf.get("use_graphrag", False):+ if not task_parser_config.get("graphrag", {}).get("use_graphrag", False):return+ graphrag_conf = task["kb_parser_config"].get("graphrag", {})start_ts = timer()chat_model = LLMBundle(task_tenant_id, LLMType.CHAT, llm_name=task_llm_id, lang=task_language)with_resolution = graphrag_conf.get("resolution", False)