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 categorize agent input content not format error (#4842)
WANGRUI-ZBca1648052a02
diff --git a/agent/component/categorize.py b/agent/component/categorize.pyindex 03385a0ba3..efbbf0aa06 100644--- a/agent/component/categorize.py+++ b/agent/component/categorize.py@@ -80,6 +80,7 @@ class Categorize(Generate, ABC):def _run(self, history, **kwargs):input = self.get_input()+ input = " - ".join(input["content"]) if "content" in input else ""chat_mdl = LLMBundle(self._canvas.get_tenant_id(), LLMType.CHAT, self._param.llm_id)ans = chat_mdl.chat(self._param.get_prompt(input), [{"role": "user", "content": "\nCategory: "}],self._param.gen_conf())