/
functions.json
37 lines (37 loc) · 1 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
[
{
"name": "search_products",
"description": "Vector search all products. Uses a product's name, heading, description, details, primary category name, variation info, available sizes, and sizing info",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The vector query to search for"
},
"limit": {
"type": "integer",
"description": "The number of products to return. Defaults to 5",
"default": 5
},
"category": {
"type": "string",
"description": "The root category name to focus search results on",
"enum": [
"Accessories",
"Activewear",
"Jackets/Coats",
"Jewelry",
"Pants",
"Shirts",
"Shoes",
"Suits",
"Sweaters",
"Underwear and Nightwear"
]
}
},
"required": ["query"]
}
}
]