From 24fa17593f92b843ca8fa1b36fa8e69e70fd062f Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Wed, 5 Jun 2024 18:09:41 -0400 Subject: [PATCH] docs: update agentexecutor title to legacy (#22575) --- docs/docs/how_to/agent_executor.ipynb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docs/how_to/agent_executor.ipynb b/docs/docs/how_to/agent_executor.ipynb index fb1d8709cf..e6a357e3ca 100644 --- a/docs/docs/how_to/agent_executor.ipynb +++ b/docs/docs/how_to/agent_executor.ipynb @@ -15,7 +15,11 @@ "id": "f4c03f40-1328-412d-8a48-1db0cd481b77", "metadata": {}, "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", "By themselves, language models can't take actions - they just output text.\n", "A big use case for LangChain is creating **agents**.\n", @@ -24,10 +28,6 @@ "\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", - ":::{.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", "\n", "Concepts we will cover are:\n",