Invalid JSON: Expected double-quoted property name in JSON
at line 6, column 1
| { | |
| "id": 1234, | |
| "prompt": "get the simulator ready", | |
| "rewritten_intent": "from 'tello_sim' library import 'Simulator'", | |
| "snippet": "from tello_sim import Simulator", | |
| } | |
| { | |
| "id": 5678, | |
| "prompt": "assign a drone in the simulator", | |
| "rewritten_intent": "assign 'my_drone'to a 'Simulator' class", | |
| "snippet": "my_drone = Simulator()" | |
| } | |
| { | |
| "id": 1213, | |
| "prompt": "takeoff the drone", | |
| "rewritten_intent": "use the 'takeoff()' method on 'my_drone'", | |
| "snippet": "my_drone.takeoff()", | |
| } | |
| { | |
| "id": 1415, | |
| "prompt": "move the drone forward for n units", | |
| "rewritten_intent": "use the 'forward()' method on 'my_drone' for 'n' units to be provided by the user", | |
| "snippet": "n=int(input("enter the no of units that the drone must move forward")) my_drone.forward(n)", | |
| } | |
| { | |
| "id": 1516, | |
| "prompt": "move the drone clockwise for n units", | |
| "rewritten_intent": "use the 'cw()' method on 'my_drone' for 'n' units to be used as input from user", | |
| "snippet": "n=int(input("enter the no of units that the drone must move clockwise")) my_drone.cw(n)", | |
| } | |
| { | |
| "id": 1718, | |
| "prompt": "land the drone", | |
| "rewritten_intent": "use the 'land()' method on 'my_drone'", | |
| "snippet": "my_drone.land()", | |
| } | |