Spaces:
Runtime error
Runtime error
File size: 1,762 Bytes
a16a172 |
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 |
{
"name": "extract_menu_data",
"description": "Extract structured menu information from images.",
"parameters": {
"type": "object",
"properties": {
"restaurant": {
"type": "string",
"description": "Name of the restaurant. If the name is not available, it should be ''."
},
"address": {
"type": "string",
"description": "Address of the restaurant. If the address is not available, it should be ''."
},
"phone": {
"type": "string",
"description": "Phone number of the restaurant. If the phone number is not available, it should be ''."
},
"business_hours": {
"type": "string",
"description": "Business hours of the restaurant. If the business hours are not available, it should be ''."
},
"dishes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the menu item."
},
"price": {
"type": "string",
"description": "Price of the menu item. If the price is not available, it should be -1."
}
},
"required": ["name", "price"]
},
"description": "List of menu dishes item."
}
},
"required": ["restaurant", "address", "phone", "business_hours", "dishes"]
}
} |