feat: 企业内部文档检索工具

This commit is contained in:
martsforever
2025-09-11 00:45:19 +08:00
parent 1697324bf4
commit b9a79f7361
6 changed files with 28 additions and 4 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
from typing import List, Any
from langchain_core.tools import tool
@@ -5,7 +7,7 @@ from langchain_core.tools import tool
name_or_callable="tool_query_direct_subordinates",
description="查询直接下级员工信息"
)
def tool_query_direct_subordinates() -> float:
def tool_query_direct_subordinates() -> List[Any]:
return [
"已经查询完毕",
{