Skip to content

Commit f3f453b

Browse files
committed
✨ 1. Knowledge base tracing results support downloading.
2. File download requests are made to the backend interface, instead of directly accessing Minio.
1 parent 9f6444c commit f3f453b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

sdk/nexent/core/tools/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from .exa_search_tool import ExaSearchTool
22
from .get_email_tool import GetEmailTool
33
from .knowledge_base_search_tool import KnowledgeBaseSearchTool
4+
from .datamate_search_tool import DataMateSearchTool
45
from .send_email_tool import SendEmailTool
56
from .tavily_search_tool import TavilySearchTool
67
from .linkup_search_tool import LinkupSearchTool
@@ -17,7 +18,8 @@
1718

1819
__all__ = [
1920
"ExaSearchTool",
20-
"KnowledgeBaseSearchTool",
21+
"KnowledgeBaseSearchTool",
22+
"DataMateSearchTool",
2123
"SendEmailTool",
2224
"GetEmailTool",
2325
"TavilySearchTool",

sdk/nexent/core/utils/tools_common_message.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class ToolSign(Enum):
99
EXA_SEARCH = "b" # Exa search tool identifier
1010
LINKUP_SEARCH = "c" # Linkup search tool identifier
1111
TAVILY_SEARCH = "d" # Tavily search tool identifier
12+
DATAMATE_KNOWLEDGE_BASE = "e" # DataMate knowledge base search tool identifier
1213
FILE_OPERATION = "f" # File operation tool identifier
1314
TERMINAL_OPERATION = "t" # Terminal operation tool identifier
1415
MULTIMODAL_OPERATION = "m" # Multimodal operation tool identifier
@@ -20,6 +21,7 @@ class ToolSign(Enum):
2021
"tavily_search": ToolSign.TAVILY_SEARCH.value,
2122
"linkup_search": ToolSign.LINKUP_SEARCH.value,
2223
"exa_search": ToolSign.EXA_SEARCH.value,
24+
"datamate_knowledge_base_search": ToolSign.DATAMATE_KNOWLEDGE_BASE.value,
2325
"file_operation": ToolSign.FILE_OPERATION.value,
2426
"terminal_operation": ToolSign.TERMINAL_OPERATION.value,
2527
"multimodal_operation": ToolSign.MULTIMODAL_OPERATION.value,

0 commit comments

Comments
 (0)