Typo fixes - Update Orchestrating_agents.ipynb (#1640)

This commit is contained in:
Apurav Chauhan 2025-02-14 03:11:49 -05:00 committed by GitHub
parent 3951f7347c
commit 347811fcf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -575,7 +575,7 @@
"messages.extend(response)\n",
"\n",
"\n",
"user_query = \"Actually, I want a refund.\" # implitly refers to the last item\n",
"user_query = \"Actually, I want a refund.\" # implicitly refers to the last item\n",
"print(\"User:\", user_query)\n",
"messages.append({\"role\": \"user\", \"content\": user_query})\n",
"response = run_full_turn(refund_agent, messages) # refund agent"
@ -596,7 +596,7 @@
"\n",
"Now that agent can express the _intent_ to make a handoff, we must make it actually happen. There's many ways to do this, but there's one particularly clean way.\n",
"\n",
"For the agent functions we've defined so far, like `execute_refund` or `place_order` they return a string, which will be provided to the model. What if instead, we return an `Agent` object to indate which agent we want to transfer to? Like so:"
"For the agent functions we've defined so far, like `execute_refund` or `place_order` they return a string, which will be provided to the model. What if instead, we return an `Agent` object to indicate which agent we want to transfer to? Like so:"
]
},
{