diff --git a/app/tools/tool_project_analysis.py b/app/tools/tool_project_analysis.py new file mode 100644 index 0000000..4be16ed --- /dev/null +++ b/app/tools/tool_project_analysis.py @@ -0,0 +1,15 @@ +from langchain_core.tools import tool + + +@tool( + name_or_callable="tool_project_analysis", + description="做项目成本分析报告" +) +def tool_project_analysis() -> float: + return [ + "", + { + "component": "DirectSubordinates", + "props": {}, + } + ] diff --git a/app/tools/tool_project_report.py b/app/tools/tool_project_report.py new file mode 100644 index 0000000..08cedfb --- /dev/null +++ b/app/tools/tool_project_report.py @@ -0,0 +1,15 @@ +from langchain_core.tools import tool + + +@tool( + name_or_callable="tool_project_report", + description="tool_project_report" +) +def tool_project_analysis() -> float: + return [ + "", + { + "component": "DirectSubordinates", + "props": {}, + } + ]