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
Remove vector stored in component output. (#3908)
Kevin Huf54a8d774885
diff --git a/agent/component/base.py b/agent/component/base.pyindex 63d5f0d84b..5825eba582 100644--- a/agent/component/base.py+++ b/agent/component/base.py@@ -383,6 +383,9 @@ class ComponentBase(ABC):"params": {}}"""+ out = json.loads(str(self._param)).get("output", {})+ if isinstance(out, dict) and "vector" in out:+ del out["vector"]return """{{"component_name": "{}","params": {},@@ -390,7 +393,7 @@ class ComponentBase(ABC):"inputs": {}}}""".format(self.component_name,self._param,- json.dumps(json.loads(str(self._param)).get("output", {}), ensure_ascii=False),+ json.dumps(out, ensure_ascii=False),json.dumps(json.loads(str(self._param)).get("inputs", []), ensure_ascii=False))