Examples and guides for using the OpenAI API
Typo fixes - Update Orchestrating_agents.ipynb (#1640)
Apurav Chauhan347811fcf0fc
diff --git a/examples/Orchestrating_agents.ipynb b/examples/Orchestrating_agents.ipynbindex d0f2084a..2da3db2e 100644--- a/examples/Orchestrating_agents.ipynb+++ b/examples/Orchestrating_agents.ipynb@@ -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:"]},{