2024-06-17 15:59:26 +00:00
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Let's get the drone in the air, how high should it go?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "takeoff_drone", "arguments": "{\"altitude\": 100}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Ready for takeoff, how high should the drone fly?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "takeoff_drone", "arguments": "{\"altitude\": 100}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you bring the drone down to where we are?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "land_drone", "arguments": "{\"location\": \"current\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Let's get the drone to land right here"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "land_drone", "arguments": "{\"location\": \"current\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Bring the drone back to base for landing"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "land_drone", "arguments": "{\"location\": \"home_base\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you safely land the drone at home base"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "land_drone", "arguments": "{\"location\": \"home_base\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you make the drone move to the left by 10 units?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_drone_movement", "arguments": "{\"direction\": \"left\", \"distance\": 10}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I need the drone to go left, could you move it 10 steps that way?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_drone_movement", "arguments": "{\"direction\": \"left\", \"distance\": 10}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you move the drone to the right by 10 feet?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_drone_movement", "arguments": "{\"direction\": \"right\", \"distance\": 10}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I need the drone to go 10 feet to the right, can you do that?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_drone_movement", "arguments": "{\"direction\": \"right\", \"distance\": 10}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you make the drone go upwards by 10 units?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_drone_movement", "arguments": "{\"direction\": \"up\", \"distance\": 10}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I need the drone to move up, can you do that for me?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_drone_movement", "arguments": "{\"direction\": \"up\", \"distance\": 10}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you bring the drone lower by 10 feet please?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_drone_movement", "arguments": "{\"direction\": \"down\", \"distance\": 10}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I need the drone to descend 10 units, can you make that happen?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_drone_movement", "arguments": "{\"direction\": \"down\", \"distance\": 10}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you make the drone go faster?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_drone_speed", "arguments": "{\"speed\": 10}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I think the drone should speed up a bit, don't you think?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_drone_speed", "arguments": "{\"speed\": 10}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I want to take a picture, can you switch the camera mode to photo"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_camera", "arguments": "{\"mode\": \"photo\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Let's capture this moment, switch the camera to photo mode please"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_camera", "arguments": "{\"mode\": \"photo\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you switch the camera to photo mode and take a picture for 10 seconds?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_camera", "arguments": "{\"mode\": \"photo\", \"duration\": 10}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I need to capture something, can you set the camera to take photos for 10 seconds?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_camera", "arguments": "{\"mode\": \"photo\", \"duration\": 10}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you switch the camera to video mode?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_camera", "arguments": "{\"mode\": \"video\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I want to record, can you set the camera to video mode?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_camera", "arguments": "{\"mode\": \"video\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you start recording a video with the camera for a minute"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_camera", "arguments": "{\"mode\": \"video\", \"duration\": 60}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I need to film something, can you put the camera in video mode for 60 seconds"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_camera", "arguments": "{\"mode\": \"video\", \"duration\": 60}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you switch the camera to panorama mode?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_camera", "arguments": "{\"mode\": \"panorama\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I'd like to take a 360-degree photo, can you set the camera to panorama mode?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_camera", "arguments": "{\"mode\": \"panorama\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you set the camera to take a panorama shot for a minute"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_camera", "arguments": "{\"mode\": \"panorama\", \"duration\": 60}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I'd like to switch the camera mode to panorama and have it last for a minute"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_camera", "arguments": "{\"mode\": \"panorama\", \"duration\": 60}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you adjust the camera angle up and to the right?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_gimbal", "arguments": "{\"tilt\": 45, \"pan\": 90}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I need to tilt the camera up and pan it to the right, can you do that?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "control_gimbal", "arguments": "{\"tilt\": 45, \"pan\": 90}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you turn on the lights for the drone"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_drone_lighting", "arguments": "{\"mode\": \"on\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I need some extra light, can you activate it on the drone"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_drone_lighting", "arguments": "{\"mode\": \"on\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you turn off the lights on the drone"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_drone_lighting", "arguments": "{\"mode\": \"off\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I don't need the drone lights on, can you switch them off"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_drone_lighting", "arguments": "{\"mode\": \"off\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you make the drone lights flash?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_drone_lighting", "arguments": "{\"mode\": \"blink\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I want the drone lights to blink, can you do that?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_drone_lighting", "arguments": "{\"mode\": \"blink\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you switch the drone lights to the SOS mode, just in case?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_drone_lighting", "arguments": "{\"mode\": \"sos\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I need the drone lights to flash SOS, can you set that up?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_drone_lighting", "arguments": "{\"mode\": \"sos\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you bring the drone back home now?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "return_to_home", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Is it time for the drone to return to base?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "return_to_home", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "My phone battery is draining so fast, can you turn on battery saver mode"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_battery_saver_mode", "arguments": "{\"status\": \"on\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I need my laptop battery to last longer, can you switch on battery saver mode"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_battery_saver_mode", "arguments": "{\"status\": \"on\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "My phone battery is draining too quickly, can you turn off the battery saver mode"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_battery_saver_mode", "arguments": "{\"status\": \"off\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I feel like my device is slower with battery saver on, can we turn it off?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_battery_saver_mode", "arguments": "{\"status\": \"off\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I want the car to avoid obstacles, can you turn on that feature?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_obstacle_avoidance", "arguments": "{\"mode\": \"on\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you activate the obstacle avoidance mode for safety purposes?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_obstacle_avoidance", "arguments": "{\"mode\": \"on\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I'd like to turn off obstacle detection, how do I do that?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_obstacle_avoidance", "arguments": "{\"mode\": \"off\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you disable the obstacle avoidance feature for now?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_obstacle_avoidance", "arguments": "{\"mode\": \"off\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you activate the follow me mode?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_follow_me_mode", "arguments": "{\"status\": \"on\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I want the car to follow me, can you turn on that feature?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_follow_me_mode", "arguments": "{\"status\": \"on\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I don't want the drone following me anymore, can you turn that off?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_follow_me_mode", "arguments": "{\"status\": \"off\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you disable the follow-me mode on the drone?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_follow_me_mode", "arguments": "{\"status\": \"off\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "The sensors are acting up, can you recalibrate them"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "calibrate_sensors", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "My device doesn't seem to be sensing correctly, can you adjust it"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "calibrate_sensors", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I'm too tired to drive, can you turn on the autopilot"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_autopilot", "arguments": "{\"status\": \"on\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Let the car drive itself, turn on autopilot"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_autopilot", "arguments": "{\"status\": \"on\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I'm feeling more confident, turn off the autopilot"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_autopilot", "arguments": "{\"status\": \"off\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I think I can handle it, deactivate the automatic pilot"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "set_autopilot", "arguments": "{\"status\": \"off\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you set the display to a steady yellow color?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"solid\", \"color\": \"yellow\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I'd like the LED display to be a solid yellow, please."}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"solid\", \"color\": \"yellow\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you make the lights flash on and off"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"blink\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I want the LED display to blink, can you set that up"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"blink\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you make the lights flash in red?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"blink\", \"color\": \"red\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "How do I set the display to blink in red?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"blink\", \"color\": \"red\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you make the lights flash in yellow?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"blink\", \"color\": \"yellow\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "How do I set the display to blink in yellow?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"blink\", \"color\": \"yellow\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you make the lights blink instead of staying steady"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"pulse\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I want the LEDs to flash, not stay solid"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"pulse\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you make the LED display pulse in red, please?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"pulse\", \"color\": \"red\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I'd like the LED display to flash in red, can you set that up?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"pulse\", \"color\": \"red\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I want the LED lights to flash in blue"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"pulse\", \"color\": \"blue\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you set the display to pulse with a blue color"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"pulse\", \"color\": \"blue\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you make the lights flash and change to green"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"pulse\", \"color\": \"green\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Let's set the LEDs to blink and switch to green"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"pulse\", \"color\": \"green\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you change the flashy lights to yellow and make them pulse"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"pulse\", \"color\": \"yellow\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I want the LED display to blink in yellow, can you do that"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"pulse\", \"color\": \"yellow\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you change the colors on the display to red and set it to a rainbow pattern?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"rainbow\", \"color\": \"red\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I want the LED display to show a rainbow pattern in red, can you set that up?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"rainbow\", \"color\": \"red\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you change the color and pattern of the lights to blue and rainbow?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"rainbow\", \"color\": \"blue\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I'm feeling like some colorful lights, can you set it to blue and rainbow?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"rainbow\", \"color\": \"blue\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you set the LED display to show a rainbow pattern in green color?"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"rainbow\", \"color\": \"green\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I'd like the LED display to cycle through colors, starting with green"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"rainbow\", \"color\": \"green\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Can you make the lights do a cool rainbow effect"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"rainbow\", \"color\": \"white\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Change the color of the lights to white and make them change like a rainbow"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "configure_led_display", "arguments": "{\"pattern\": \"rainbow\", \"color\": \"white\"}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I changed my mind, can you cancel that request"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "I don't want to proceed with the request anymore, can you reject it"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Translate broadcast message to another language"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Automatically capture photos when face is detected"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Detect nearby drones"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Measure wind resistance"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Capture slow motion video"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Move the drone forward and backward by same distance at the same time."}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Adjust drone's altitude to ground level changes"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Display custom message on LED display"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Sync drone's time with smartphone"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Alert when drone travels out of designated area"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Calibrate sensors and land simultaneously"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Detect moisture levels"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Automatically follow GPS tagged object"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Toggle night vision mode"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Maintain current altitude when battery is low"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Decide best landing spot using AI"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|
|
|
|
{"messages": [{"role": "system", "content": "You are an intelligent AI that controls a drone. Given a command or request from the user,\ncall one of your functions to complete the request. If the request cannot be completed by your available functions, call the reject_request function.\nIf the request is ambiguous or unclear, reject the request."}, {"role": "user", "content": "Program drone's route based on wind direction"}, {"role": "assistant", "tool_calls": [{"id": "call_id", "type": "function", "function": {"name": "reject_request", "arguments": "{}"}}]}], "parallel_tool_calls": false, "tools": [{"type": "function", "function": {"name": "takeoff_drone", "parameters": {"type": "object", "properties": {"altitude": {"type": "integer"}}, "required": ["altitude"]}}}, {"type": "function", "function": {"name": "land_drone", "parameters": {"type": "object", "properties": {"location": {"type": "string", "enum": ["current", "home_base", "custom"]}, "coordinates": {"type": "object"}}, "required": ["location"]}}}, {"type": "function", "function": {"name": "control_drone_movement", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["forward", "backward", "left", "right", "up", "down"]}, "distance": {"type": "integer"}}, "required": ["direction", "distance"]}}}, {"type": "function", "function": {"name": "set_drone_speed", "parameters": {"type": "object", "properties": {"speed": {"type": "integer", "minimum": 0}}, "required": ["speed"]}}}, {"type": "function", "function": {"name": "control_camera", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["photo", "video", "panorama"]}, "duration": {"type": "integer"}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "control_gimbal", "parameters": {"type": "object", "properties": {"tilt": {"type": "integer"}, "pan": {"type": "integer"}}, "required": ["tilt", "pan"]}}}, {"type": "function", "function": {"name": "set_drone_lighting", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off", "blink", "sos"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "return_to_home", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_battery_saver_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "set_obstacle_avoidance", "parameters": {"type": "object", "properties": {"mode": {"type": "string", "enum": ["on", "off"]}}, "required": ["mode"]}}}, {"type": "function", "function": {"name": "set_follow_me_mode", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "calibrate_sensors", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "set_autopilot", "parameters": {"type": "object", "properties": {"status": {"type": "string", "enum": ["on", "off"]}}, "required": ["status"]}}}, {"type": "function", "function": {"name": "configure_led_display", "parameters": {"type": "object", "properties": {"pattern": {"type": "string", "enum": ["solid", "blink", "pulse", "rainbow"]}, "color": {"type": "string", "enum": ["red", "blue", "green", "yellow", "white"]}}, "required": ["pattern"]}}}, {"type": "function", "function": {"name": "set_home_location", "parameters": {"type": "object", "properties": {"coordinates": {"type": "object"}}, "required": ["coordinates"]}}}, {"type": "function", "function": {"name": "reject_request", "parameters": {"type": "object", "properties": {}}}}]}
|