forked from rungalileo/sdk-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtools.json
More file actions
40 lines (40 loc) · 1.16 KB
/
Copy pathtools.json
File metadata and controls
40 lines (40 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[
{
"type": "function",
"function": {
"name": "convert_text_to_arithmetic_expression",
"description": "Convert numbers written as words to their numerical values.",
"parameters": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "A text expression which can contain numbers written as words (e.g., 'twenty-five', 'one hundred and two'), numbers written as digits (e.g., '5', '100'), and arithmetic operators (e.g., '+', '-', '*', '/')"
}
},
"required": ["text"],
"additionalProperties": false
},
"strict": true
}
},
{
"type": "function",
"function": {
"name": "calculate",
"description": "Perform arithmetic calculations on numbers.",
"parameters": {
"type": "object",
"properties": {
"expression": {
"type": "string",
"description": "Arithmetic expression to calculate (e.g., '5 + 3', '10 * 4', '100 / 25')"
}
},
"required": ["expression"],
"additionalProperties": false
},
"strict": true
}
}
]