返回文档
  • 正在准备搜索索引...
  • 搜索索引不可用
API 参考
  • API 参考
  • langgraph/prebuilt
  • createFunctionCallingExecutor

函数 createFunctionCallingExecutor

  • createFunctionCallingExecutor<Model>(__namedParameters): CompiledStateGraph<FunctionCallingExecutorState, Partial<FunctionCallingExecutorState>, typeof START | "agent" | "action">
  • 类型参数

    • Model 继承 object

    参数

    • 命名参数: {
          model: Model;
          tools: (StructuredToolInterface<ToolInputSchemaBase, any, any> | RunnableToolLike<InteropZodType, unknown>)[] | ToolExecutor;
      }
      • model: Model
      • tools: (StructuredToolInterface<ToolInputSchemaBase, any, any> | RunnableToolLike<InteropZodType, unknown>)[] | ToolExecutor

    返回 CompiledStateGraph<FunctionCallingExecutorState, Partial<FunctionCallingExecutorState>, typeof START | "agent" | "action">

    已弃用

    请改用 createReactAgent 并结合工具调用能力。

    • 定义于 libs/langgraph/dist/prebuilt/chat_agent_executor.d.ts:12

设置

成员可见性

主题

API 参考
  • 加载中...

使用 TypeDoc 生成