mirror of
https://github.com/openai/openai-cookbook
synced 2024-11-15 18:13:18 +00:00
deleted API key, and cycled it :)
This commit is contained in:
parent
52c146348e
commit
453d9f0b3a
@ -455,7 +455,7 @@
|
|||||||
"FunctionCall(arguments='{\\n \"altitude\": 50\\n}', name='takeoff_drone') \n",
|
"FunctionCall(arguments='{\\n \"altitude\": 50\\n}', name='takeoff_drone') \n",
|
||||||
"\n",
|
"\n",
|
||||||
"change speed to 15 kilometers per hour\n",
|
"change speed to 15 kilometers per hour\n",
|
||||||
"FunctionCall(arguments='{\\n \"speed\": 15\\n}', name='set_drone_speed') \n",
|
"FunctionCall(arguments='{ \"speed\": 15 }', name='set_drone_speed') \n",
|
||||||
"\n",
|
"\n",
|
||||||
"turn into an elephant!\n",
|
"turn into an elephant!\n",
|
||||||
"FunctionCall(arguments='{}', name='reject_request') \n",
|
"FunctionCall(arguments='{}', name='reject_request') \n",
|
||||||
@ -503,15 +503,15 @@
|
|||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"Play pre-recorded audio message\n",
|
"Play pre-recorded audio message\n",
|
||||||
"FunctionCall(arguments='{\\n \"direction\": \"forward\",\\n \"distance\": 10\\n}', name='control_drone_movement')\n",
|
"FunctionCall(arguments='{}', name='reject_request')\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Initiate live-streaming on social media\n",
|
"Initiate live-streaming on social media\n",
|
||||||
"FunctionCall(arguments='{\\n\"mode\": \"video\",\\n\"duration\": 0\\n}', name='control_camera')\n",
|
"FunctionCall(arguments='{\\n \"mode\": \"video\",\\n \"duration\": 0\\n}', name='control_camera')\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Scan environment for heat signatures\n",
|
"Scan environment for heat signatures\n",
|
||||||
"FunctionCall(arguments='{}', name='reject_request')\n",
|
"FunctionCall(arguments='{\\n \"mode\": \"photo\"\\n}', name='control_camera')\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Enable stealth mode\n",
|
"Enable stealth mode\n",
|
||||||
@ -519,7 +519,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Change drone's paint job color\n",
|
"Change drone's paint job color\n",
|
||||||
"FunctionCall(arguments='{\\n \"pattern\": \"solid\",\\n \"color\": \"red\"\\n}', name='configure_led_display')\n",
|
"FunctionCall(arguments='{\\n \"pattern\": \"solid\",\\n \"color\": \"blue\"\\n}', name='configure_led_display')\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\n"
|
"\n"
|
||||||
]
|
]
|
||||||
@ -815,7 +815,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 23,
|
"execution_count": 14,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@ -841,7 +841,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 24,
|
"execution_count": 15,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [
|
"outputs": [
|
||||||
{
|
{
|
||||||
@ -851,13 +851,13 @@
|
|||||||
"\u001b[34m0.0% complete\u001b[0m\n",
|
"\u001b[34m0.0% complete\u001b[0m\n",
|
||||||
"{'name': 'takeoff_drone', 'arguments': {'altitude': 100}}\n",
|
"{'name': 'takeoff_drone', 'arguments': {'altitude': 100}}\n",
|
||||||
"\u001b[34m1.8% complete\u001b[0m\n",
|
"\u001b[34m1.8% complete\u001b[0m\n",
|
||||||
"{'name': 'land_drone', 'arguments': '{\"location\": \"current\"}'}\n",
|
"{'name': 'land_drone', 'arguments': {'location': 'current'}}\n",
|
||||||
"\u001b[34m3.6% complete\u001b[0m\n",
|
"\u001b[34m3.6% complete\u001b[0m\n",
|
||||||
"{'name': 'land_drone', 'arguments': '{\"location\": \"home_base\"}'}\n",
|
"{'name': 'land_drone', 'arguments': {'location': 'home_base'}}\n",
|
||||||
"\u001b[34m5.4% complete\u001b[0m\n",
|
"\u001b[34m5.4% complete\u001b[0m\n",
|
||||||
"{'name': 'land_drone', 'arguments': '{\"location\": \"custom\"}'}\n",
|
"{'name': 'land_drone', 'arguments': {'location': 'custom'}}\n",
|
||||||
"\u001b[34m7.1% complete\u001b[0m\n",
|
"\u001b[34m7.1% complete\u001b[0m\n",
|
||||||
"{'name': 'control_drone_movement', 'arguments': {'direction': 'forward', 'distance': 10}}\n",
|
"{'name': 'control_drone_movement', 'arguments': {'direction': 'forward', 'distance': 50}}\n",
|
||||||
"\u001b[34m8.9% complete\u001b[0m\n",
|
"\u001b[34m8.9% complete\u001b[0m\n",
|
||||||
"{'name': 'control_drone_movement', 'arguments': {'direction': 'backward', 'distance': 10}}\n",
|
"{'name': 'control_drone_movement', 'arguments': {'direction': 'backward', 'distance': 10}}\n",
|
||||||
"\u001b[34m10.7% complete\u001b[0m\n",
|
"\u001b[34m10.7% complete\u001b[0m\n",
|
||||||
@ -865,7 +865,7 @@
|
|||||||
"\u001b[34m12.5% complete\u001b[0m\n",
|
"\u001b[34m12.5% complete\u001b[0m\n",
|
||||||
"{'name': 'control_drone_movement', 'arguments': {'direction': 'right', 'distance': 10}}\n",
|
"{'name': 'control_drone_movement', 'arguments': {'direction': 'right', 'distance': 10}}\n",
|
||||||
"\u001b[34m14.3% complete\u001b[0m\n",
|
"\u001b[34m14.3% complete\u001b[0m\n",
|
||||||
"{'name': 'control_drone_movement', 'arguments': {'direction': 'up', 'distance': 10}}\n",
|
"{'name': 'control_drone_movement', 'arguments': {'direction': 'up', 'distance': 20}}\n",
|
||||||
"\u001b[34m16.1% complete\u001b[0m\n",
|
"\u001b[34m16.1% complete\u001b[0m\n",
|
||||||
"{'name': 'control_drone_movement', 'arguments': {'direction': 'down', 'distance': 10}}\n"
|
"{'name': 'control_drone_movement', 'arguments': {'direction': 'down', 'distance': 10}}\n"
|
||||||
]
|
]
|
||||||
@ -1004,7 +1004,7 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"file-fppNAhHZUPju7Dhl69hTlJj5\n"
|
"file-xrLV8EbNZk31QPT1TB5KIx7E\n"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user