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: raptor don't have attribute chat (#11936)
Yongteng Lei2b260901dfa8
diff --git a/rag/raptor.py b/rag/raptor.pyindex 20ad8638bd..2d3ccfa7de 100644--- a/rag/raptor.py+++ b/rag/raptor.py@@ -63,7 +63,7 @@ class RecursiveAbstractiveProcessing4TreeOrganizedRetrieval:last_exc = Nonefor attempt in range(3):try:- response = await asyncio.to_thread(self._llm_model.chat, system, history, gen_conf)+ response = await self._llm_model.async_chat(system, history, gen_conf)response = re.sub(r"^.*</think>", "", response, flags=re.DOTALL)if response.find("**ERROR**") >= 0:raise Exception(response)