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: Set default rerank_model to empty string in Chat class (#8130)
Liu An2ff911b08cc9
diff --git a/sdk/python/ragflow_sdk/modules/chat.py b/sdk/python/ragflow_sdk/modules/chat.pyindex e85011504d..39e6815368 100644--- a/sdk/python/ragflow_sdk/modules/chat.py+++ b/sdk/python/ragflow_sdk/modules/chat.py@@ -46,7 +46,7 @@ class Chat(Base):self.top_n = 8self.top_k = 1024self.variables = [{"key": "knowledge", "optional": True}]- self.rerank_model = None+ self.rerank_model = ""self.empty_response = Noneself.opener = "Hi! I'm your assistant, what can I do for you?"self.show_quote = True