mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-23 23:29:21 +00:00
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 `
This commit is contained in:
parent
a1268d9e9a
commit
3d6e8547f9
@ -383,7 +383,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"Now, we can initalize the agent with the LLM and the tools.\n",
|
"Now, we can initalize the agent with the LLM and the tools.\n",
|
||||||
"\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."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user