api_call_0
api_call
get_menu_items
api_call_0
request
{"query": "chai latte"}
api_response_0
api_response
get_menu_items
api_response_0
response
{"menu_items":[{"menu_item_id":"chai latte-3943","name":"chai latte"}]}
api_call_1
api_call
add_order_item
api_call_1
request
{"menu_item_id": "chai latte-3943","quantity": "1"}
api_response_1
api_response
add_order_item
api_response_1
response
{"order_id": "76829","order_item_id":"48140"}
api_call_2
api_call
get_order_details
api_call_2
request
{"order_id": "76829"}
api_response_2
api_response
get_order_details
api_response_2
response
{"order_id": "76829", "attributes": [{"attribute_id": "Name", "attribute_name": "Name", "option": "ten of hearts"},{"attribute_id": "order-type", "attribute_name": "Order Type", "option": "here"}], "menu_items": [{"order_item_id": "48140", "menu_item_id": "chai latte-3943", "menu_item_name": "chai latte"}]}
user
Can I please get a chai latte?
assistant
Yes, please take a look a the screen and confirm your order is correct. Does that look right?
api_call_3
api_call
finish_order
api_call_3
request
{"order_id": "76829"}
api_response_3
api_response
finish_order
api_response_3
response
{"success":true}
user
Yes, it is.
assistant
Perfect, the order will be ready in a little bit at the coffee bar. Thank you!