AhmadMustafa commited on
Commit
675f40a
·
1 Parent(s): 0ba8a3c

update: tools

Browse files
Files changed (1) hide show
  1. utils.py +8 -5
utils.py CHANGED
@@ -59,10 +59,7 @@ openai_tools = [
59
  "parameters": {
60
  "type": "object",
61
  "properties": {
62
- "url": {
63
- "type": "string",
64
- "description": "The url to the agenda.",
65
- },
66
  },
67
  "required": ["url"],
68
  "additionalProperties": False,
@@ -80,7 +77,7 @@ openai_tools = [
80
  "call_type": {
81
  "type": "string",
82
  "description": "The correct call type. If street interview, call type is 'si'.",
83
- },
84
  },
85
  "required": ["call_type"],
86
  "additionalProperties": False,
@@ -92,6 +89,12 @@ openai_tools = [
92
  "function": {
93
  "name": "get_image",
94
  "description": "If the user asks you to show crops, you need to call this function",
 
 
 
 
 
 
95
  },
96
  },
97
  ]
 
59
  "parameters": {
60
  "type": "object",
61
  "properties": {
62
+ "url": {"type": "string", "description": "The url to the agenda."}
 
 
 
63
  },
64
  "required": ["url"],
65
  "additionalProperties": False,
 
77
  "call_type": {
78
  "type": "string",
79
  "description": "The correct call type. If street interview, call type is 'si'.",
80
+ }
81
  },
82
  "required": ["call_type"],
83
  "additionalProperties": False,
 
89
  "function": {
90
  "name": "get_image",
91
  "description": "If the user asks you to show crops, you need to call this function",
92
+ "parameters": {
93
+ "type": "object",
94
+ "properties": {},
95
+ "required": [],
96
+ "additionalProperties": False,
97
+ },
98
  },
99
  },
100
  ]