feat: 准备实现项目成本分析报告和项目周报日报分析总结工具
This commit is contained in:
@@ -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": {},
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -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": {},
|
||||||
|
}
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user