Skip to content

Commit

Permalink
Typo fixes - Update Orchestrating_agents.ipynb (#1640)
Browse files Browse the repository at this point in the history
  • Loading branch information
apuravchauhan authored Feb 14, 2025
1 parent 3951f73 commit 347811f
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 347811f

Please sign in to comment.