Commit
·
c58c1ec
1
Parent(s):
d7b967c
Upload drone_commands_ner.json
Browse files- drone_commands_ner.json +46 -0
drone_commands_ner.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"id": 1234,
|
3 |
+
"prompt": "get the simulator ready",
|
4 |
+
"rewritten_intent": "from 'tello_sim' library import 'Simulator'",
|
5 |
+
"snippet": "from tello_sim import Simulator",
|
6 |
+
}
|
7 |
+
|
8 |
+
{
|
9 |
+
"id": 5678,
|
10 |
+
"prompt": "assign a drone in the simulator",
|
11 |
+
"rewritten_intent": "assign 'my_drone'to a 'Simulator' class",
|
12 |
+
"snippet": "my_drone = Simulator()"
|
13 |
+
}
|
14 |
+
|
15 |
+
{
|
16 |
+
"id": 1213,
|
17 |
+
"prompt": "takeoff the drone",
|
18 |
+
"rewritten_intent": "use the 'takeoff()' method on 'my_drone'",
|
19 |
+
"snippet": "my_drone.takeoff()",
|
20 |
+
}
|
21 |
+
|
22 |
+
{
|
23 |
+
"id": 1415,
|
24 |
+
"prompt": "move the drone forward for n units",
|
25 |
+
"rewritten_intent": "use the 'forward()' method on 'my_drone' for 'n' units to be provided by the user",
|
26 |
+
"snippet": "n=int(input("enter the no of units that the drone must move forward")) my_drone.forward(n)",
|
27 |
+
}
|
28 |
+
|
29 |
+
{
|
30 |
+
"id": 1516,
|
31 |
+
"prompt": "move the drone clockwise for n units",
|
32 |
+
"rewritten_intent": "use the 'cw()' method on 'my_drone' for 'n' units to be used as input from user",
|
33 |
+
"snippet": "n=int(input("enter the no of units that the drone must move clockwise")) my_drone.cw(n)",
|
34 |
+
}
|
35 |
+
|
36 |
+
{
|
37 |
+
"id": 1718,
|
38 |
+
"prompt": "land the drone",
|
39 |
+
"rewritten_intent": "use the 'land()' method on 'my_drone'",
|
40 |
+
"snippet": "my_drone.land()",
|
41 |
+
}
|
42 |
+
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
|