From 3d6e8547f973bb85fa316937c37ae317779fc309 Mon Sep 17 00:00:00 2001 From: bincat <99850403+binc4t@users.noreply.github.com> Date: Thu, 13 Jun 2024 00:30:35 +0800 Subject: [PATCH] docs: fix function name in tutorials/agents.ipynb (#22809) the function called in the flowing example is `create_react_agent`, not `create_tool_calling_executor ` --- docs/docs/tutorials/agents.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/tutorials/agents.ipynb b/docs/docs/tutorials/agents.ipynb index 7187cfbdbc..13f8ff333d 100644 --- a/docs/docs/tutorials/agents.ipynb +++ b/docs/docs/tutorials/agents.ipynb @@ -383,7 +383,7 @@ "source": [ "Now, we can initalize the agent with the LLM and the tools.\n", "\n", - "Note that we are passing in the `model`, not `model_with_tools`. That is because `create_tool_calling_executor` will call `.bind_tools` for us under the hood." + "Note that we are passing in the `model`, not `model_with_tools`. That is because `create_react_agent` will call `.bind_tools` for us under the hood." ] }, {