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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"input": "Get user info for mobile number 1234567890",
|
| 4 |
+
"output": {
|
| 5 |
+
"id": 1,
|
| 6 |
+
"username": "john_doe",
|
| 7 |
+
"mobile": "1234567890",
|
| 8 |
+
"auth_token": "abcd1234"
|
| 9 |
+
}
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"input": "Search items pizza for franchise ID 101",
|
| 13 |
+
"output": {
|
| 14 |
+
"items": [
|
| 15 |
+
{"id": 1, "name": "Margherita Pizza"},
|
| 16 |
+
{"id": 2, "name": "Pepperoni Pizza"}
|
| 17 |
+
]
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"input": "Add items to cart [{'varient': 1, 'quantity': 2}, {'varient': 2, 'quantity': 1}] for user with access token abcd1234",
|
| 22 |
+
"output": {
|
| 23 |
+
"status": "success",
|
| 24 |
+
"message": "Items added to cart"
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"input": "Get restaurant details for franchise ID 101 and restaurant ID 202",
|
| 29 |
+
"output": {
|
| 30 |
+
"id": 202,
|
| 31 |
+
"name": "Pizza Place",
|
| 32 |
+
"location": "Downtown"
|
| 33 |
+
}
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"input": "Clear cart for user with access token abcd1234",
|
| 37 |
+
"output": {
|
| 38 |
+
"status": "success",
|
| 39 |
+
"message": "Cart cleared"
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"input": "Apply coupon code SAVE10 for user with access token abcd1234 and franchise ID 101",
|
| 44 |
+
"output": {
|
| 45 |
+
"status": "success",
|
| 46 |
+
"message": "Coupon applied"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"input": "Get charges for user with access token abcd1234",
|
| 51 |
+
"output": {
|
| 52 |
+
"delivery_charge": 5.0,
|
| 53 |
+
"restaurant_charge": 2.5,
|
| 54 |
+
"total": 35.0
|
| 55 |
+
}
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"input": "Validate cart for user with access token abcd1234",
|
| 59 |
+
"output": {
|
| 60 |
+
"status": "valid",
|
| 61 |
+
"message": "Cart is valid"
|
| 62 |
+
}
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"input": "Confirm order for user with access token abcd1234 with payment data {'paymentId': 'pay_1234', 'orderId': 'order_5678', 'method': 'credit_card'}, delivery note 'Leave at the door', all charges included 37.5, tip 2.0, wallet amount used 0, charges {'restaurant_charge': 2.5, 'delivery_charge': 5.0}",
|
| 66 |
+
"output": {
|
| 67 |
+
"status": "success",
|
| 68 |
+
"order_id": "order_5678",
|
| 69 |
+
"message": "Order confirmed"
|
| 70 |
+
}
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"input": "Fetch franchise details and active status",
|
| 74 |
+
"output": {
|
| 75 |
+
"franchises": [
|
| 76 |
+
{"id": 101, "name": "Franchise A", "active": true},
|
| 77 |
+
{"id": 102, "name": "Franchise B", "active": false}
|
| 78 |
+
]
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"input": "Retrieve category-wise products for restaurant 202 in franchise 101 with limit 10 and offset 0",
|
| 83 |
+
"output": {
|
| 84 |
+
"categories": [
|
| 85 |
+
{
|
| 86 |
+
"id": 1,
|
| 87 |
+
"name": "Pizzas",
|
| 88 |
+
"products": [
|
| 89 |
+
{"id": 1, "name": "Margherita Pizza"},
|
| 90 |
+
{"id": 2, "name": "Pepperoni Pizza"}
|
| 91 |
+
]
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"id": 2,
|
| 95 |
+
"name": "Beverages",
|
| 96 |
+
"products": [
|
| 97 |
+
{"id": 3, "name": "Coke"},
|
| 98 |
+
{"id": 4, "name": "Pepsi"}
|
| 99 |
+
]
|
| 100 |
+
}
|
| 101 |
+
]
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"input": "Search items burger for franchise ID 102",
|
| 106 |
+
"output": {
|
| 107 |
+
"items": [
|
| 108 |
+
{"id": 3, "name": "Chicken Burger"},
|
| 109 |
+
{"id": 4, "name": "Veggie Burger"}
|
| 110 |
+
]
|
| 111 |
+
}
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"input": "Update memory with 'User John Doe prefers vegetarian food'",
|
| 115 |
+
"output": {
|
| 116 |
+
"message": "Memory updated successfully.",
|
| 117 |
+
"content": "User John Doe prefers vegetarian food",
|
| 118 |
+
"status": true
|
| 119 |
+
}
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"input": "Retrieve memory content related to 'vegetarian food'",
|
| 123 |
+
"output": "User John Doe prefers vegetarian food"
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"input": "Get default address for user with access token abcd1234",
|
| 127 |
+
"output": {
|
| 128 |
+
"id": 1,
|
| 129 |
+
"address": "123 Main St, Springfield",
|
| 130 |
+
"city": "Springfield",
|
| 131 |
+
"state": "IL",
|
| 132 |
+
"zip_code": "62701",
|
| 133 |
+
"country": "USA"
|
| 134 |
+
}
|
| 135 |
+
},
|
| 136 |
+
{
|
| 137 |
+
"input": "Set address {'land_mark': 'Near the park', 'id': 2} for user with access token abcd1234",
|
| 138 |
+
"output": {
|
| 139 |
+
"status": "success",
|
| 140 |
+
"message": "Address set successfully"
|
| 141 |
+
}
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"input": "Fetch coupon codes for user with access token abcd1234 for franchise ID 101",
|
| 145 |
+
"output": {
|
| 146 |
+
"coupons": [
|
| 147 |
+
{"code": "SAVE10", "discount": 10, "expiry": "2024-12-31"},
|
| 148 |
+
{"code": "FREESHIP", "discount": 5, "expiry": "2024-11-30"}
|
| 149 |
+
]
|
| 150 |
+
}
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"input": "Fetch recommended products for franchise ID 101 and restaurant 202",
|
| 154 |
+
"output": {
|
| 155 |
+
"recommended_products": [
|
| 156 |
+
{"id": 1, "name": "Margherita Pizza"},
|
| 157 |
+
{"id": 3, "name": "Coke"}
|
| 158 |
+
]
|
| 159 |
+
}
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"input": "Fetch details of restaurant 202 in franchise ID 101",
|
| 163 |
+
"output": {
|
| 164 |
+
"id": 202,
|
| 165 |
+
"name": "Pizza Place",
|
| 166 |
+
"location": "Downtown",
|
| 167 |
+
"rating": 4.5
|
| 168 |
+
}
|
| 169 |
+
}
|
| 170 |
+
]
|