-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfunctions.json
41 lines (41 loc) · 1.8 KB
/
functions.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
[
{
"type": "function",
"function": {
"name": "recommend_recipes",
"strict": true,
"description": "recommend recipes according to the user's needs. Only called when the user clearly asks for recipe recommendations",
"parameters": {
"type": "object",
"properties": {
"include_ingredient": {
"type": "array",
"items": {
"type": "string",
"enum": []
},
"description": "ingredients that the user wishes to include in the recipe. if the item is not in enum, then ignore."
},
"exclude_ingredient": {
"type": "array",
"items": {
"type": "string"
},
"description": "ingredients that the user wishes to exclude in the recipe. if the item is not in enum, then ignore."
},
"recipe_count": {
"type": "integer",
"description": "the number of recipes to return. if this is not provided but user mentioned the count of people they are cooking for, choose the amount as count minus 1."
},
"exclude_id": {
"type": "array",
"items": {
"type": "integer"
},
"description": "the id of recipes the user wishes to exclude for any reason. Do not use this parameter unless the user explicitly mentions it."
}
}
}
}
}
]