update notebook wording and format (#2991)

This commit is contained in:
Qingyun Wu 2024-06-21 15:58:35 -04:00 committed by GitHub
parent 89c2f20166
commit b4837215db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 7 deletions

View File

@ -131,7 +131,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Coding Example with Two Agent"
"## Two-agent Coding Example"
]
},
{
@ -139,7 +139,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Construct Agents\n",
"### Construct Agents\n",
"\n",
"Construct a simple conversation between a User proxy and an ConversableAgent based on Claude-3 model.\n"
]
@ -173,7 +173,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Initiate Chat"
"### Initiate Chat"
]
},
{
@ -283,7 +283,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Function Call in Latest Anthropic API \n",
"## Tool Call Example with the Latest Anthropic API \n",
"Anthropic just announced that tool use is now supported in the Anthropic API. To use this feature, please install `anthropic>=0.23.1`."
]
},
@ -291,7 +291,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Register the function"
"### Register the function"
]
},
{
@ -396,7 +396,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# GroupChat with Claude and GPT Agents "
"## Group Chat Example with both Claude and GPT Agents "
]
},
{
@ -706,7 +706,6 @@
"\n",
"manager = GroupChatManager(\n",
" groupchat=groupchat,\n",
" # is_termination_msg=lambda x: x.get(\"content\", \"\").find(\"TERMINATE\") >= 0,\n",
" llm_config={\n",
" \"config_list\": config_list_gpt4,\n",
" },\n",