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
Import akshare lazzily. (#4708)
Kevin Hub2bb560007c1
diff --git a/agent/component/akshare.py b/agent/component/akshare.pyindex 36b3131b33..a3ce3eb138 100644--- a/agent/component/akshare.py+++ b/agent/component/akshare.py@@ -15,7 +15,6 @@#from abc import ABCimport pandas as pd-import akshare as akfrom agent.component.base import ComponentBase, ComponentParamBase@@ -36,6 +35,7 @@ class AkShare(ComponentBase, ABC):component_name = "AkShare"def _run(self, history, **kwargs):+ import akshare as akans = self.get_input()ans = ",".join(ans["content"]) if "content" in ans else ""if not ans: