Update How-to Guides (#417)

- reduce the number of API keys needed (Use simple tool)
- make everything "tool use" oriented rather than split across agent executor, function calling, tool use, etc.
- Reorg navbar and index
- Fixup some docstrings
- Add more links to ref docs
- Mix up models used
- Simplify a few examples
This commit is contained in:
William FH
2024-05-07 23:09:17 -07:00
committed by GitHub
parent f49e8dbc98
commit 991d35be08
31 changed files with 6734 additions and 1996 deletions
@@ -8,7 +8,7 @@
"# Chat Agent Executor using prebuilt Tool Node\n",
"\n",
"\n",
"In this example we will build a chat executor that uses tool calling and the prebuilt ToolNode."
"In this example we will build a ReAct Agent that uses tool calling and the prebuilt ToolNode."
]
},
{
@@ -156,7 +156,7 @@
"source": [
"## Define the agent state\n",
"\n",
"The main type of graph in `langgraph` is the `StatefulGraph`.\n",
"The main type of graph in `langgraph` is the [StateGraph](https://langchain-ai.github.io/langgraph/reference/graphs/#langgraph.graph.StateGraph).\n",
"This graph is parameterized by a state object that it passes around to each node.\n",
"Each node then returns operations to update that state.\n",
"These operations can either SET specific attributes on the state (e.g. overwrite the existing values) or ADD to the existing attribute.\n",