This commit is contained in:
17
backend/app/main_graph/tools/graph_tools.py
Normal file
17
backend/app/main_graph/tools/graph_tools.py
Normal file
@@ -0,0 +1,17 @@
|
||||
"""
|
||||
工具定义模块 - 子图工具 + RAG 工具
|
||||
Subgraph Tools + RAG Tools
|
||||
"""
|
||||
|
||||
# 子图工具
|
||||
from .subgraph_tools import (
|
||||
SUBGRAPH_TOOLS,
|
||||
SUBGRAPH_TOOLS_BY_NAME,
|
||||
dictionary_tool,
|
||||
news_analysis_tool,
|
||||
contact_tool
|
||||
)
|
||||
|
||||
# 工具列表和映射(全局常量)
|
||||
AVAILABLE_TOOLS = SUBGRAPH_TOOLS.copy()
|
||||
TOOLS_BY_NAME = SUBGRAPH_TOOLS_BY_NAME.copy()
|
||||
Reference in New Issue
Block a user