Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/Orchestrating_agents.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:"
]
},
{
Expand Down