docs: fix agents index links (#15419)

This commit is contained in:
Bagatur 2024-01-02 13:15:01 -05:00 committed by GitHub
parent f50dba12ff
commit 5a43e0e885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,41 +21,38 @@
"In chains, a sequence of actions is hardcoded (in code).\n", "In chains, a sequence of actions is hardcoded (in code).\n",
"In agents, a language model is used as a reasoning engine to determine which actions to take and in which order.\n", "In agents, a language model is used as a reasoning engine to determine which actions to take and in which order.\n",
"\n", "\n",
"## [Quick Start](./quick_start)\n", "## [Quick Start](/docs/modules/agents/quick_start)\n",
"\n", "\n",
"For a quick start to working with agents, please check out [this getting started guide](./quick_start). This covers basics like initializing an agent, creating tools, and adding memory.\n", "For a quick start to working with agents, please check out [this getting started guide](/docs/modules/agents/quick_start). This covers basics like initializing an agent, creating tools, and adding memory.\n",
"\n", "\n",
"## [Concepts](./concepts)\n", "## [Concepts](/docs/modules/agents/concepts)\n",
"\n", "\n",
"There are several key concepts to understand when building agents: Agents, AgentExecutor, Tools, Toolkits.\n", "There are several key concepts to understand when building agents: Agents, AgentExecutor, Tools, Toolkits.\n",
"For an in depth explanation, please check out [this conceptual guide](./concepts)\n", "For an in depth explanation, please check out [this conceptual guide](/docs/modules/agents/concepts)\n",
"\n", "\n",
"\n", "\n",
"## [Agent Types](./agent_types)\n", "## [Agent Types](/docs/modules/agents/agent_types/)\n",
"\n", "\n",
"There are many different types of agents to use. For a overview of the different types and when to use them, please check out [this section](./agent_types).\n", "There are many different types of agents to use. For a overview of the different types and when to use them, please check out [this section](/docs/modules/agents/agent_types/).\n",
"\n", "\n",
"## [Tools](./tools)\n", "## [Tools](/docs/modules/agents/tools/)\n",
"\n", "\n",
"Agents are only as good as the tools they have. For a comprehensive guide on tools, please see [this section](./tools).\n", "Agents are only as good as the tools they have. For a comprehensive guide on tools, please see [this section](/docs/modules/agents/tools/).\n",
"\n", "\n",
"## How To Guides\n", "## How To Guides\n",
"\n", "\n",
"Agents have a lot of related functionality! Check out comprehensive guides including:\n", "Agents have a lot of related functionality! Check out comprehensive guides including:\n",
"\n", "\n",
"- [Building a custom agent](./how_to/custom_agent)\n", "- [Building a custom agent](/docs/modules/agents/how_to/custom_agent)\n",
"- [Streaming (of both intermediate steps and tokens](./how_to/streaming)\n", "- [Streaming (of both intermediate steps and tokens](/docs/modules/agents/how_to/streaming)\n",
"- [Building an agent that returns structured output](./how_to/agent_structured)\n", "- [Building an agent that returns structured output](/docs/modules/agents/how_to/agent_structured)\n",
"- Lots functionality around using AgentExecutor, including: [using it as an iterator](./how_to/agent_iter), [handle parsing errors](./how_to/handle_parsing_errors), [returning intermediate steps](./how_to/itermediate_steps), [capping the max number of iterations](./how_to/max_iterations), and [timeouts for agents](./how_to/max_time_limit)\n", "- Lots functionality around using AgentExecutor, including: [using it as an iterator](/docs/modules/agents/how_to/agent_iter), [handle parsing errors](/docs/modules/agents/how_to/handle_parsing_errors), [returning intermediate steps](/docs/modules/agents/how_to/itermediate_steps), [capping the max number of iterations](/docs/modules/agents/how_to/max_iterations), and [timeouts for agents](/docs/modules/agents/how_to/max_time_limit)"
"\n",
"\n",
"\n"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"id": "e9ffbf21", "id": "a39384ab-6beb-4611-a95c-9a51c718ca23",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [] "source": []
@ -77,7 +74,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.10.1" "version": "3.9.1"
} }
}, },
"nbformat": 4, "nbformat": 4,