Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: add default output method for ComponentParamBase (#7933)

Stephen Hua0f76b7a4d43
diff --git a/agent/component/base.py b/agent/component/base.py
index 15b3c345e1..e50b297de4 100644
--- a/agent/component/base.py
+++ b/agent/component/base.py
@@ -46,6 +46,9 @@ class ComponentParamBase(ABC):
def check(self):
raise NotImplementedError("Parameter Object should be checked.")
+
+ def output(self):
+ return None
@classmethod
def _get_or_init_deprecated_params_set(cls):