Back to documentation
Preparing search index...
The search index is not available
API Reference
API Reference
prebuilt
createFunctionCallingExecutor
Function createFunctionCallingExecutor
create
Function
Calling
Executor
<
Model
>
(
__namedParameters
)
:
CompiledStateGraph
<
FunctionCallingExecutorState
,
Partial
<
FunctionCallingExecutorState
>
,
typeof
START
|
"agent"
|
"action"
>
Type Parameters
Model
extends
object
Parameters
__namedParameters
:
{
model
:
Model
;
tools
:
ToolExecutor
|
StructuredTool
<
ZodAny
>
[]
;
}
model
:
Model
tools
:
ToolExecutor
|
StructuredTool
<
ZodAny
>
[]
Returns
CompiledStateGraph
<
FunctionCallingExecutorState
,
Partial
<
FunctionCallingExecutorState
>
,
typeof
START
|
"agent"
|
"action"
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
API Reference
Loading...