Spaces:
Running
on
Zero
Running
on
Zero
Update functions.json
Browse files- functions.json +16 -15
functions.json
CHANGED
@@ -31,20 +31,21 @@
|
|
31 |
},
|
32 |
"example_usage": "```tool_code\nget_stock_price(ticker=\"AAPL\")\n```"
|
33 |
},
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
},
|
46 |
-
"required": ["query"]
|
47 |
},
|
48 |
-
"
|
49 |
-
}
|
|
|
|
|
|
|
50 |
]
|
|
|
31 |
},
|
32 |
"example_usage": "```tool_code\nget_stock_price(ticker=\"AAPL\")\n```"
|
33 |
},
|
34 |
+
{
|
35 |
+
"name": "search_youtube",
|
36 |
+
"description": "Searches YouTube for the given query and returns top results",
|
37 |
+
"module_path": "my_functions",
|
38 |
+
"func_name_in_module": "search_youtube",
|
39 |
+
"parameters": {
|
40 |
+
"type": "object",
|
41 |
+
"properties": {
|
42 |
+
"query": {
|
43 |
+
"type": "string"
|
44 |
+
}
|
|
|
|
|
45 |
},
|
46 |
+
"required": ["query"]
|
47 |
+
},
|
48 |
+
"example_usage": "```tool_code\nsearch_youtube(query=\"ChatGPT tutorial\")\n```"
|
49 |
+
}
|
50 |
+
|
51 |
]
|