Update prompts/utils/tools.json
Browse files- prompts/utils/tools.json +19 -48
prompts/utils/tools.json
CHANGED
|
@@ -1,50 +1,21 @@
|
|
| 1 |
-
|
|
|
|
| 2 |
{
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
"music/running_up_that_hill",
|
| 19 |
-
"music/throttle_up",
|
| 20 |
-
"music/what_it_sounds_like",
|
| 21 |
-
"music/worry_slowed"
|
| 22 |
-
]
|
| 23 |
-
}
|
| 24 |
-
},
|
| 25 |
-
"required": [
|
| 26 |
-
"song_name"
|
| 27 |
-
]
|
| 28 |
-
}
|
| 29 |
-
}
|
| 30 |
-
},
|
| 31 |
-
{
|
| 32 |
-
"type": "function",
|
| 33 |
-
"function": {
|
| 34 |
-
"name": "control_computer",
|
| 35 |
-
"description": "Use this function if the user asks you to control the computer.",
|
| 36 |
-
"parameters": {
|
| 37 |
-
"type": "object",
|
| 38 |
-
"properties": {
|
| 39 |
-
"instruction": {
|
| 40 |
-
"type": "string",
|
| 41 |
-
"description": "instruction to control the computer"
|
| 42 |
-
}
|
| 43 |
-
},
|
| 44 |
-
"required": [
|
| 45 |
-
"instruction"
|
| 46 |
-
]
|
| 47 |
-
}
|
| 48 |
-
}
|
| 49 |
}
|
| 50 |
-
]
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tools": [
|
| 3 |
{
|
| 4 |
+
"name": "sing_song",
|
| 5 |
+
"description": "Select a song name that best matches user request to sing.",
|
| 6 |
+
"inputSchema": {
|
| 7 |
+
"type": "object",
|
| 8 |
+
"properties": {
|
| 9 |
+
"song_name": {
|
| 10 |
+
"type": "string",
|
| 11 |
+
"enum": [
|
| 12 |
+
"music/golden",
|
| 13 |
+
"music/running_up_that_hill"
|
| 14 |
+
]
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"required": ["song_name"]
|
| 18 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
}
|
| 20 |
+
]
|
| 21 |
+
}
|