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:
Eugene Yurtsev 2024-01-15 14:14:11 -05:00 committed by GitHub
parent b11fd3bedc
commit beec7259c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 4 deletions

View File

@ -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,

View File

@ -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,