ginipick commited on
Commit
0e9d568
·
verified ·
1 Parent(s): f1068cb

Create functions.json

Browse files
Files changed (1) hide show
  1. functions.json +32 -0
functions.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "name": "get_product_name_by_PID",
4
+ "description": "Finds the name of a product by its Product ID.",
5
+ "module_path": "my_functions",
6
+ "func_name_in_module": "get_product_name_by_PID",
7
+ "parameters": {
8
+ "type": "object",
9
+ "properties": {
10
+ "PID": {
11
+ "type": "string"
12
+ }
13
+ },
14
+ "required": ["PID"]
15
+ }
16
+ },
17
+ {
18
+ "name": "get_stock_price",
19
+ "description": "Retrieves the latest stock price for a given ticker symbol using yfinance.",
20
+ "module_path": "my_functions",
21
+ "func_name_in_module": "get_stock_price",
22
+ "parameters": {
23
+ "type": "object",
24
+ "properties": {
25
+ "ticker": {
26
+ "type": "string"
27
+ }
28
+ },
29
+ "required": ["ticker"]
30
+ }
31
+ }
32
+ ]