Spaces:
Running
on
Zero
Running
on
Zero
Update functions.json
Browse files- functions.json +16 -0
functions.json
CHANGED
@@ -30,5 +30,21 @@
|
|
30 |
"required": ["ticker"]
|
31 |
},
|
32 |
"example_usage": "```tool_code\nget_stock_price(ticker=\"AAPL\")\n```"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
}
|
34 |
]
|
|
|
30 |
"required": ["ticker"]
|
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=\"multimodal AI demos\")\n```"
|
49 |
}
|
50 |
]
|