-
Notifications
You must be signed in to change notification settings - Fork 0
/
tools.json
50 lines (50 loc) · 2.87 KB
/
tools.json
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
41
42
43
44
45
46
47
48
49
50
[
{
"type": "function",
"function": {
"name": "retrieve_garden_info",
"description": "Retrieve the information provided by the user about the state, the soil type, amount of sun in the garden, the preferred type of plant, and the preferred life-cycle of the plant",
"parameters": {
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": ["", "AL", "AK", "AZ", "AR", "CA", "CO", "CT", "DE",
"FL", "GA", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA",
"ME", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV",
"NH", "NJ", "NM", "NY", "NC", "ND", "OH", "OK", "OR", "PA",
"RI", "SC", "SD", "TN", "TX", "UT", "VT", "VA", "WA", "WV",
"WI", "WY"],
"description": "The state the user lives in. For example Michigan is MI. Nothing mentioned is an empty string ''"
},
"habit": {
"type": "string",
"enum": ["", "tree", "herb", "shrub", "grass/grass-like",
"vine", "cactus/succulent", "fern"],
"description": "The type of plant the user is looking for regarding the the type of plant like tree or herb. Nothing mentioned is an empty string ''"
},
"duration": {
"type": "string",
"enum": ["", "perennial", "annual", "biennial"],
"description": "The type of plant, the user is looking for regarding the the live duration of the plant. Nothing mentioned is an empty string ''"
},
"sun": {
"type": "string",
"enum": ["", "sun", "shade", "part-shade"],
"description": "The amount of sun in the garden. For example a sunny garden is sun. Nothing mentioned is an empty string ''"
},
"water": {
"type": "string",
"enum": ["", "dry", "moist", "wet"],
"description": "The soil type of the garden. For example if the soil is dry, moist or wet. Nothing mentioned is an empty string ''"
},
"other": {
"type": "string",
"description": "If the user provides any additional information for example if the user likes to have plant with fruits or a preference in color of the blossoms"
}
},
"required": ["state", "habit", "duration", "sun", "water"]
}
}
}
]