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(sdk): temperature default should be a float, not a 1-tuple (#18656)
陈志谦f5c359e64bb2
diff --git a/sdk/python/ragflow_sdk/modules/memory.py b/sdk/python/ragflow_sdk/modules/memory.pyindex 09b057fd2f..ecdb8a92f7 100644--- a/sdk/python/ragflow_sdk/modules/memory.py+++ b/sdk/python/ragflow_sdk/modules/memory.py@@ -32,7 +32,7 @@ class Memory(Base):self.description = ""self.memory_size = 5 * 1024 * 1024self.forgetting_policy = "FIFO"- self.temperature = (0.5,)+ self.temperature = 0.5self.system_prompt = ""self.user_prompt = ""for k in list(res_dict.keys()):