docs: update agentexecutor title to legacy (#22575)

This commit is contained in:
Erick Friis 2024-06-05 18:09:41 -04:00 committed by GitHub
parent 584a1e30ac
commit 24fa17593f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,11 @@
"id": "f4c03f40-1328-412d-8a48-1db0cd481b77", "id": "f4c03f40-1328-412d-8a48-1db0cd481b77",
"metadata": {}, "metadata": {},
"source": [ "source": [
"# Build an Agent\n", "# Build an Agent with AgentExecutor (Legacy)\n",
"\n",
":::{.callout-important}\n",
"This section will cover building with the legacy LangChain AgentExecutor. These are fine for getting started, but past a certain point, you will likely want flexibility and control that they do not offer. For working with more advanced agents, we'd recommend checking out [LangGraph Agents](/docs/concepts/#langgraph) or the [migration guide](/docs/how_to/migrate_agent/)\n",
":::\n",
"\n", "\n",
"By themselves, language models can't take actions - they just output text.\n", "By themselves, language models can't take actions - they just output text.\n",
"A big use case for LangChain is creating **agents**.\n", "A big use case for LangChain is creating **agents**.\n",
@ -24,10 +28,6 @@
"\n", "\n",
"In this tutorial, we will build an agent that can interact with multiple different tools: one being a local database, the other being a search engine. You will be able to ask this agent questions, watch it call tools, and have conversations with it.\n", "In this tutorial, we will build an agent that can interact with multiple different tools: one being a local database, the other being a search engine. You will be able to ask this agent questions, watch it call tools, and have conversations with it.\n",
"\n", "\n",
":::{.callout-important}\n",
"This section will cover building with LangChain Agents. LangChain Agents are fine for getting started, but past a certain point, you will likely want flexibility and control that they do not offer. For working with more advanced agents, we'd reccommend checking out [LangGraph](/docs/concepts/#langgraph)\n",
":::\n",
"\n",
"## Concepts\n", "## Concepts\n",
"\n", "\n",
"Concepts we will cover are:\n", "Concepts we will cover are:\n",