mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-12 10:37:32 +00:00
docs: Add info admonitions to a few agents (#15899)
Add admonitions directly in the agent page to explain constraints and include a link to agent types.
This commit is contained in:
parent
b11fd3bedc
commit
beec7259c8
@ -17,7 +17,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"# Structured chat\n",
|
"# Structured chat\n",
|
||||||
"\n",
|
"\n",
|
||||||
"The structured chat agent is capable of using multi-input tools.\n"
|
"The structured chat agent is capable of using multi-input tools."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -237,7 +237,7 @@
|
|||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.10.1"
|
"version": "3.11.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
@ -17,7 +17,14 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"# XML Agent\n",
|
"# XML Agent\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Some language models (like Anthropic's Claude) are particularly good at reasoning/writing XML. This goes over how to use an agent that uses XML when prompting. "
|
"Some language models (like Anthropic's Claude) are particularly good at reasoning/writing XML. This goes over how to use an agent that uses XML when prompting. \n",
|
||||||
|
"\n",
|
||||||
|
":::tip\n",
|
||||||
|
"\n",
|
||||||
|
"* Use with regular LLMs, not with chat models.\n",
|
||||||
|
"* Use only with unstructured tools; i.e., tools that accept a single string input.\n",
|
||||||
|
"* See [AgentTypes](../index) documentation for more agent types.\n",
|
||||||
|
":::"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -217,7 +224,7 @@
|
|||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.10.1"
|
"version": "3.11.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
Loading…
Reference in New Issue
Block a user