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