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.
pull/15625/head
Eugene Yurtsev 9 months ago committed by GitHub
parent b11fd3bedc
commit beec7259c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,7 +17,7 @@
"source": [
"# Structured chat\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",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.1"
"version": "3.11.4"
}
},
"nbformat": 4,

@ -17,7 +17,14 @@
"source": [
"# XML Agent\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",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.1"
"version": "3.11.4"
}
},
"nbformat": 4,

Loading…
Cancel
Save