返回文档
正在准备搜索索引...
搜索索引不可用
API 参考
API 参考
预构建
createFunctionCallingExecutor
函数 createFunctionCallingExecutor
create
Function
Calling
Executor
<
Model
>
(
__namedParameters
)
:
CompiledStateGraph
<
FunctionCallingExecutorState
,
Partial
<
FunctionCallingExecutorState
>
,
typeof
START
|
"agent"
|
"action"
>
类型参数
Model
extends
object
参数
__namedParameters
:
{
model
:
Model
;
tools
:
ToolExecutor
|
(
RunnableToolLike
<
ZodType
<
any
,
ZodTypeDef
,
any
>
,
unknown
>
|
StructuredToolInterface
<
ZodObjectAny
>
)
[]
;
}
model
:
Model
tools
:
ToolExecutor
|
(
RunnableToolLike
<
ZodType
<
any
,
ZodTypeDef
,
any
>
,
unknown
>
|
StructuredToolInterface
<
ZodObjectAny
>
)
[]
返回值
CompiledStateGraph
<
FunctionCallingExecutorState
,
Partial
<
FunctionCallingExecutorState
>
,
typeof
START
|
"agent"
|
"action"
>
设置
成员可见性
Protected
Private
Inherited
External
主题
操作系统
浅色
深色
API 参考
加载中...