conversation_id
stringlengths 40
40
| vertical
stringclasses 1
value | scenario
stringclasses 32
values | instructions
stringclasses 28
values | utterances
listlengths 2
8
|
---|---|---|---|---|
dlg-6ce5c2a6-b045-4628-8491-2e7e11e74477 | Coffee | Auto template 17 do you have x NO | *SCENARIO: Ordering from a coffee bar*
Imagine you're talking with a coffee bar attendant and you're about ready to order:
*NOT ON MENU*
{{ENTER category category Think of something you would NEVER expect to be served at a strictly coffee or tea bar (like alcohol, hot sauce, etc.) and enter it here. INVENT YOUR OWN--don't use the examples given.}}
{{CONVERSATION
hint user (Asks the coffee bar attendant a yes/no question like "Do you have var_category?" MAKE IT SOUND normal.)
call show_menu request {}
response show_menu response {"success":true}
call get_menu_items request {"query": "var_category"}
response get_menu_items response {"menu_items":[]}
hint assistant (Politely explain they don't have that. Then ask if there's something from the menu they would like)
}}
{{CHECK confirm_flow The conversation sounds realistic and logical.}}
{{CHECK confirm_language The conversation contains no inappropriate language.}}
| [
{
"annotations": [
{
"context": "api_call_0",
"name": "api_call",
"value": "show_menu"
},
{
"context": "api_call_0",
"name": "request",
"value": "{}"
},
{
"context": "api_response_0",
"name": "api_response",
"value": "show_menu"
},
{
"context": "api_response_0",
"name": "response",
"value": "{\"success\":true}"
},
{
"context": "api_call_1",
"name": "api_call",
"value": "get_menu_items"
},
{
"context": "api_call_1",
"name": "request",
"value": "{\"query\": \"burgers\"}"
},
{
"context": "api_response_1",
"name": "api_response",
"value": "get_menu_items"
},
{
"context": "api_response_1",
"name": "response",
"value": "{\"menu_items\":[]}"
}
],
"index": 0,
"segments": [],
"speaker": "user",
"text": "Hey, I was just wondering if you serve burgers?"
},
{
"annotations": [],
"index": 1,
"segments": [],
"speaker": "assistant",
"text": "I'm sorry, we don't serve food here. Is there something on our menu you might like instead?"
}
] |
dlg-90e46a42-3f2c-4e0c-8696-834bb4a4c2dd | Coffee | Auto template 12 order a coffee drink wrong results | *SCENARIO: Ordering from a coffee bar*
Imagine you're ordering a drink from the following menu:
*COFFEE BAR MENU*
{{LIST *Cappuccino* (8oz) (espresso + milk + extra foam),*Mocha* (12oz) (espresso + milk + chocolate + foam)}}
{{ENTER drink1 drink Enter one of the two drinks listed above.}}
{{LIST *Cortado* (4oz) (espresso + milk + extra foam),*Macchiato* (3oz) (espresso with a little foam)}}
{{ENTER drink2 drink Now enter one of the two drinks listed above that starts with the SAME letter as your first drink choice.}}
{{ENTER menu_item_id id In all lowercase, write the drink name you just entered above followed by hyphen ("-") and then ANY four-digit number. So, "Lemonade" could be "lemonade-6477"}}
*CATEGORY*
{{ENTER category category Enter one of the choices: tea OR tea drinks}}
*TASK: Write the transcript of a conversation that you would have with the worker.*
{{LIST Make this conversation sound like something you would expect at a real coffee and tea bar, The conversation should be written using the green and white dialog bubbles below (green dialog bubbles are for customer's turns and the white bubbles are for the worker's turns)}}
{{CONVERSATION
hint user (Think about what you'd say when ordering a var_drink1. Say it out loud, then write it here.)
call get_menu_items request {"query": "var_drink1"}
response get_menu_items response {"menu_items":[{"menu_item_id":"var_menu_item_id","name":"var_drink2"}]}
hint assistant (Explain they don't see var_drink1 on the menu. Then ask if they mean 'var_drink2'.)
hint user (Says no, then asks the coffee bar attendant what kinds of var_category they have)
call show_menu request {}
response show_menu response {"success":true}
hint assistant (Explains they have several teas with black, herbal, and oolong teas. Politely suggests they take a look at the menu displayed for more details.)
}}
{{CHECK confirm_flow The conversation sounds realistic and logical.}}
{{CHECK confirm_language The conversation contains no inappropriate language.}}
| [
{
"annotations": [
{
"context": "api_call_0",
"name": "api_call",
"value": "get_menu_items"
},
{
"context": "api_call_0",
"name": "request",
"value": "{\"query\": \"Mocha\"}"
},
{
"context": "api_response_0",
"name": "api_response",
"value": "get_menu_items"
},
{
"context": "api_response_0",
"name": "response",
"value": "{\"menu_items\":[{\"menu_item_id\":\"macchiato-7384\",\"name\":\"Macchiato\"}]}"
}
],
"index": 0,
"segments": [],
"speaker": "user",
"text": "Hi, could I get a Mocha, please?"
},
{
"annotations": [],
"index": 1,
"segments": [],
"speaker": "assistant",
"text": "Hello. We actually don’t have a Mocha on our menu. Did you mean Macchiato?"
},
{
"annotations": [
{
"context": "api_call_1",
"name": "api_call",
"value": "show_menu"
},
{
"context": "api_response_1",
"name": "api_response",
"value": "show_menu"
},
{
"context": "api_response_1",
"name": "response",
"value": "{\"success\":true}"
}
],
"index": 2,
"segments": [],
"speaker": "user",
"text": "No, I was hoping for a Mocha. How about tea? What kinds do you have?"
},
{
"annotations": [],
"index": 3,
"segments": [],
"speaker": "assistant",
"text": "We have a whole bunch: black, herbal, oolong. You can take a look at our menu and see what you like."
}
] |
dlg-80b8b48f-d8f4-46f4-b1f0-27894f15408b | Coffee | Auto template 29 Order two drinks differing by name and milk | *SCENARIO: Ordering from a coffee bar*
Imagine you're ordering a drink from the following menu:
*COFFEE BAR MENU - Assume all drinks are caffeinated for now; decaf NOT an option*
{{LIST *Matcha Latte* (12oz) (matcha concentrate + milk + foam),*Chai Latte* (12oz) (chai concentrate + milk + extra foam),*Latte* (12oz) (espresso + milk + foam),*Cappuccino* (8oz) (espresso + milk + extra foam),*Cortado* (4oz) (espresso + milk + extra foam),*Macchiato* (3oz) (espresso with a little foam),*Mocha* (12oz) (espresso + milk + chocolate + foam)}}
*CHOOSE TWO DRINKS*
{{ENTER drink1 drink Enter a drink from the list above.}}
{{ENTER menu_item_id1 drink Now write what you have entered above BUT (a) all in lowercase and (b) separated by hyphens ("-") and (c) followed by any 4-digit number. For example, "Latte" would become "latte-0371". NO SPACES, NO QUOTES.}}
{{ENTER drink2 drink Enter a DIFFERENT drink from the list above.}}
{{ENTER menu_item_id2 drink Now write again what you have entered just above but, again, (a) all in lowercase and (b) separated by hyphens ("-") and (c) followed by any 4-digit number. For example, "Latte" would become "mocha-6901". NO SPACES, NO QUOTES.}}
*MILK CHOICES - Assume 'whole milk' is the default option but you want a different milk*
{{LIST 2%, Non-Fat,Oat, 2% Lactose Free,Almond}}
{{ENTER milk1 milk Choose a type of milk from the list above}}
{{ENTER milk2 milk Choose a SECOND type of milk from the list above}}
*NAME*
{{ENTER name name Enter a playing card name like "ace of spades" or "two of clubs"--CHOOSE YOUR OWN.}}
*TASK: Write the transcript of a conversation that you would have with the worker.*
{{LIST Make this conversation sound like something you would expect at a real coffee bar,Make sure to use the words you would normally use to order these things---they don't have to match the menu exactly as long as they are common ways to order,The conversation will be written using the green and white dialog bubbles below (green dialog bubbles are for customer's turns and the white bubbles are for the worker's turns)}}
{{RAND order_id id 10000 99999}}
{{RAND order_item_id1 id 10000 99999}}
{{RAND order_item_id2 id 10000 99999}}
{{CONVERSATION
hint user (Suppose you were ordering *TWO* different drinks: a var_drink1 with var_milk1 milk and a var_drink2 with var_milk2 milk. How would YOU say this order? *Say it out loud first*.)
call get_menu_items request {"query": "var_drink1"}
response get_menu_items response {"menu_items":[{"menu_item_id":"var_menu_item_id1","name":"var_drink1"}]}
call get_addons request {"query": "var_milk1", "menu_item_id":"var_menu_item_id1"}
response get_addons response {"attributes": [{"attribute_id": "milk-options", "attribute_name": "Milk", "options":["No Milk", "Whole Milk","2% Milk", "Non-fat Milk", "Oat Milk","2% Lactose Free Milk", "Almond Milk"]}]}
call add_order_item request {"menu_item_id": "var_menu_item_id1","quantity": "1","attributes": [{"attribute_id": "milk-options", "option":"var_milk1 Milk"}]}
response add_order_item response {"order_id": "var_order_id","order_item_id":"var_order_item_id1"}
call get_menu_items request {"query": "var_drink2"}
response get_menu_items response {"menu_items":[{"menu_item_id":"var_menu_item_id2","name":"var_drink2"}]}
call add_order_item request {"order_id": "var_order_id","menu_item_id": "var_menu_item_id2","quantity": "1","attributes": [{"attribute_id": "milk-options", "option":"var_milk2 Milk"}]}
response add_order_item response {"order_id": "var_order_id","order_item_id":"var_order_item_id2"}
call get_order_details request {"order_id": "var_order_id"}
response get_order_details response {"order_id": "var_order_id", "attributes": [{"attribute_id": "name", "attribute_name": "Name", "option": "var_name"},{"attribute_id": "order-type", "attribute_name": "Order Type", "option": "here"}], "menu_items": [{"order_item_id": "var_order_item_id1", "menu_item_id": "var_menu_item_id1", "menu_item_name": "var_drink1", "quantity": "1", "attributes": [{"attribute_id": "milk-options", "option":"var_milk1 Milk"}]},{"order_item_id": "var_order_item_id2", "menu_item_id": "var_menu_item_id2", "menu_item_name": "var_drink2", "quantity": "1", "attributes": [{"attribute_id": "milk-options", "option":"var_milk2 Milk"}]}]}
hint assistant (Pretend the order is displayed to the customer but do NOT repeat the item name. The worker asks the customer to confirm the order is correct before sending it to the Coffee bar to be made --USE YOUR OWN WORDS).
hint user (answers yes)
call finish_order request {"order_id": "var_order_id"}
response finish_order response {"success":true}
hint assistant (Says OK and indicates the order will be ready shortly at the coffee bar-- USE YOUR OWN WORDS)
}}
{{CHECK confirm_flow The conversation sounds realistic and logical.}}
{{CHECK confirm_language The conversation contains no inappropriate language.}}
| [
{
"annotations": [
{
"context": "api_call_0",
"name": "api_call",
"value": "get_menu_items"
},
{
"context": "api_call_0",
"name": "request",
"value": "{\"query\": \"Mocha\"}"
},
{
"context": "api_response_0",
"name": "api_response",
"value": "get_menu_items"
},
{
"context": "api_response_0",
"name": "response",
"value": "{\"menu_items\":[{\"menu_item_id\":\"moca-3923\",\"name\":\"Mocha\"}]}"
},
{
"context": "api_call_1",
"name": "api_call",
"value": "get_addons"
},
{
"context": "api_call_1",
"name": "request",
"value": "{\"query\": \"2%\", \"menu_item_id\":\"moca-3923\"}"
},
{
"context": "api_response_1",
"name": "api_response",
"value": "get_addons"
},
{
"context": "api_response_1",
"name": "response",
"value": "{\"attributes\": [{\"attribute_id\": \"milk-options\", \"attribute_name\": \"Milk\", \"options\":[\"No Milk\", \"Whole Milk\",\"2% Milk\", \"Non-fat Milk\", \"Oat Milk\",\"2% Lactose Free Milk\", \"Almond Milk\"]}]}"
},
{
"context": "api_call_2",
"name": "api_call",
"value": "add_order_item"
},
{
"context": "api_call_2",
"name": "request",
"value": "{\"menu_item_id\": \"moca-3923\",\"quantity\": \"1\",\"attributes\": [{\"attribute_id\": \"milk-options\", \"option\":\"2% Milk\"}]}"
},
{
"context": "api_response_2",
"name": "api_response",
"value": "add_order_item"
},
{
"context": "api_response_2",
"name": "response",
"value": "{\"order_id\": \"68109\",\"order_item_id\":\"50364\"}"
},
{
"context": "api_call_3",
"name": "api_call",
"value": "add_order_item"
},
{
"context": "api_call_3",
"name": "request",
"value": "{\"order_id\": \"68109\",\"menu_item_id\": \"cortado-2632\",\"quantity\": \"1\",\"attributes\": [{\"attribute_id\": \"milk-options\", \"option\":\"Oat Milk\"}]}"
},
{
"context": "api_response_3",
"name": "api_response",
"value": "add_order_item"
},
{
"context": "api_response_3",
"name": "response",
"value": "{\"order_id\": \"68109\",\"order_item_id\":\"55813\"}"
},
{
"context": "api_call_4",
"name": "api_call",
"value": "get_order_details"
},
{
"context": "api_call_4",
"name": "request",
"value": "{\"order_id\": \"68109\"}"
},
{
"context": "api_response_4",
"name": "api_response",
"value": "get_order_details"
},
{
"context": "api_response_4",
"name": "response",
"value": "{\"order_id\": \"68109\", \"attributes\": [{\"attribute_id\": \"name\", \"attribute_name\": \"Name\", \"option\": \"queen of clubs\"},{\"attribute_id\": \"order-type\", \"attribute_name\": \"Order Type\", \"option\": \"here\"}], \"menu_items\": [{\"order_item_id\": \"50364\", \"menu_item_id\": \"moca-3923\", \"menu_item_name\": \"var_drink\", \"quantity\": \"1\", \"attributes\": [{\"attribute_id\": \"milk-options\", \"option\":\"2% Milk\"}]},{\"order_item_id\": \"55813\", \"menu_item_id\": \"cortado-2632\", \"menu_item_name\": \"var_drink\", \"quantity\": \"1\", \"attributes\": [{\"attribute_id\": \"milk-options\", \"option\":\"Oat Milk\"}]}]}"
}
],
"index": 0,
"segments": [],
"speaker": "user",
"text": "I'd like a mocha with 2% and a cortado with oat, please."
},
{
"annotations": [],
"index": 1,
"segments": [],
"speaker": "assistant",
"text": "Is everything here correct?"
},
{
"annotations": [
{
"context": "api_call_5",
"name": "api_call",
"value": "finish_order"
},
{
"context": "api_call_5",
"name": "request",
"value": "{\"order_id\": \"68109\"}"
},
{
"context": "api_response_5",
"name": "api_response",
"value": "finish_order"
},
{
"context": "api_response_5",
"name": "response",
"value": "{\"success\":true}"
}
],
"index": 2,
"segments": [],
"speaker": "user",
"text": "Yes, it is."
},
{
"annotations": [],
"index": 3,
"segments": [],
"speaker": "assistant",
"text": "Thank you! Your order will be ready soon at the bar."
}
] |
dlg-6c44d2c5-4a74-4aba-9444-e068ecbc4450 | Coffee | Auto template 9 other beverages no mods | *SCENARIO: Ordering from a coffee bar*
Imagine you're ordering a drink from the following menu:
*OTHER BEVERAGES on the COFFEE BAR MENU*
{{LIST *Ginger Green Cold Steep Tea* (16 oz) (cold steeped tea + ice),*Matcha Latte* (12 oz) (matcha concentrate + milk + microfoam), *Chai Latte* (12 oz) (chai concentrate + milk + microfoam),Hot Chocolate (12 oz) (chocolate + milk + microfoam),Steamer (12 oz) (steamed milk + microfoam),Americano (10 oz) (espresso + hot water),Cold Brew (16 oz) (coffee concentrate + ice)}}
*CHOOSE YOUR BEVERAGE*
{{ENTER drink drink Enter one of the drinks from the list above. Say the phrase you think you'd actually use if you were ordering in a coffee/tea bar.}}
{{ENTER menu_item_id drink Now write the tea name that corresponds to your choice above BUT (a) all in lowercase and (b) separated by hyphens ("-") and (c) followed by any 4-digit number. For example, if you say "Hot Chocolate" you would write "hot-chocolate-0291" (use your own number). NO SPACES. NO QUOTES}}
*NAME*
{{ENTER name name Enter a playing card name like "ace of spades" or "two of clubs"--CHOOSE YOUR OWN.}}
*TASK: Write the transcript of a conversation that you would have with the worker.*
{{LIST Make this conversation sound like something you would expect at a real coffee bar,Make sure to use the words you would normally use to order these things---they don't have to match the menu exactly as long as they are common ways to order,The conversation will be written using the green and white dialog bubbles below (green dialog bubbles are for customer's turns and the white bubbles are for the worker's turns)}}
{{RAND order_id id 10000 99999}}
{{RAND order_item_id id 10000 99999}}
{{CONVERSATION
hint user (Order a var_drink.)
call get_menu_items request {"query": "var_drink"}
response get_menu_items response {"menu_items":[{"menu_item_id":"var_menu_item_id","name":"var_drink"}]}
call add_order_item request {"menu_item_id": "var_menu_item_id","quantity": "1"}
response add_order_item response {"order_id": "var_order_id","order_item_id":"var_order_item_id"}
call get_order_details request {"order_id": "var_order_id"}
response get_order_details response {"order_id": "var_order_id", "attributes": [{"attribute_id": "name", "attribute_name": "Name", "option": "var_name"}, {"attribute_id": "order-type", "attribute_name": "Order Type", "option": "here"}], "menu_items": [{"order_item_id": "var_order_item_id", "menu_item_id": "var_menu_item_id", "menu_item_name": "var_drink"}]}
hint assistant (Pretend the order is displayed to the customer but do NOT repeat the item name. The worker asks the customer to confirm the order is correct before sending it to the Coffee bar to be made --USE YOUR OWN WORDS).
hint user (answers yes)
call finish_order request {"order_id": "var_order_id"}
response finish_order response {"success":true}
hint assistant (Acknowledges and indicates the order will be ready shortly at the coffee bar-- USE YOUR OWN WORDS)
}}
{{CHECK confirm_flow The conversation sounds realistic and logical.}}
{{CHECK confirm_language The conversation contains no inappropriate language.}}
| [
{
"annotations": [
{
"context": "api_call_0",
"name": "api_call",
"value": "get_menu_items"
},
{
"context": "api_call_0",
"name": "request",
"value": "{\"query\": \"Steamer \"}"
},
{
"context": "api_response_0",
"name": "api_response",
"value": "get_menu_items"
},
{
"context": "api_response_0",
"name": "response",
"value": "{\"menu_items\":[{\"menu_item_id\":\"steamer-9431\",\"name\":\"Steamer \"}]}"
},
{
"context": "api_call_1",
"name": "api_call",
"value": "add_order_item"
},
{
"context": "api_call_1",
"name": "request",
"value": "{\"menu_item_id\": \"steamer-9431\",\"quantity\": \"1\"}"
},
{
"context": "api_response_1",
"name": "api_response",
"value": "add_order_item"
},
{
"context": "api_response_1",
"name": "response",
"value": "{\"order_id\": \"86630\",\"order_item_id\":\"26964\"}"
},
{
"context": "api_call_2",
"name": "api_call",
"value": "get_order_details"
},
{
"context": "api_call_2",
"name": "request",
"value": "{\"order_id\": \"86630\"}"
},
{
"context": "api_response_2",
"name": "api_response",
"value": "get_order_details"
},
{
"context": "api_response_2",
"name": "response",
"value": "{\"order_id\": \"86630\", \"attributes\": [{\"attribute_id\": \"name\", \"attribute_name\": \"Name\", \"option\": \"blackjack\"}, {\"attribute_id\": \"order-type\", \"attribute_name\": \"Order Type\", \"option\": \"here\"}], \"menu_items\": [{\"order_item_id\": \"26964\", \"menu_item_id\": \"steamer-9431\", \"menu_item_name\": \"Steamer \"}]}"
}
],
"index": 0,
"segments": [],
"speaker": "user",
"text": "I'd like a steamer"
},
{
"annotations": [],
"index": 1,
"segments": [],
"speaker": "assistant",
"text": "Ok, can you check to make sure the order is right?"
},
{
"annotations": [
{
"context": "api_call_3",
"name": "api_call",
"value": "finish_order"
},
{
"context": "api_call_3",
"name": "request",
"value": "{\"order_id\": \"86630\"}"
},
{
"context": "api_response_3",
"name": "api_response",
"value": "finish_order"
},
{
"context": "api_response_3",
"name": "response",
"value": "{\"success\":true}"
}
],
"index": 2,
"segments": [],
"speaker": "user",
"text": "Yes, everything is fine"
},
{
"annotations": [],
"index": 3,
"segments": [],
"speaker": "assistant",
"text": "The order will be ready soon"
}
] |
dlg-c84f4986-b8ba-4e01-a6eb-16b333ac97ec | Coffee | Auto template 14b what kind of menu_items do you have | *SCENARIO: Ordering from a coffee bar*
Imagine you're talking with a coffee bar attendant and have a specific menu question:
*CATEGORY*
{{LIST black tea,herbal tea,matcha drinks,chai drinks}}
{{ENTER category category Enter one of the choices exactly as written above.}}
*DRINKS*
{{ENTER drink1 drink Enter the name of a specific example from the category you listed above. It can be any name you know of that matches that category.}}
{{RAND item_id1 id 10000 99999}}
{{ENTER drink2 drink Enter one more name of a specific example from the category you listed above. It can be any name you know of that matches that category.}}
{{RAND item_id2 id 10000 99999}}
{{ENTER drink3 drink Enter one last name of a specific example from the category you listed above. It can be any name you know of that matches that category.}}
{{RAND item_id3 id 10000 99999}}
{{CONVERSATION
hint user (Asks the coffee bar attendant what kinds of var_category they have)
call show_menu request {}
response show_menu response {"success":true}
call get_menu_items request {"query": "var_category"}
response get_menu_items response {"menu_items":[{"menu_item_id":"var_item_id1","name":"var_drink1"}, {"menu_item_id":"var_item_id2","name":"var_drink2"}, {"menu_item_id":"var_item_id3","name":"var_drink3"}]}
hint assistant (Explains they have var_drink1, var_drink2, and var_drink3.)
}}
{{CHECK confirm_flow The conversation sounds realistic and logical.}}
{{CHECK confirm_language The conversation contains no inappropriate language.}}
| [
{
"annotations": [
{
"context": "api_call_0",
"name": "api_call",
"value": "show_menu"
},
{
"context": "api_call_0",
"name": "request",
"value": "{}"
},
{
"context": "api_response_0",
"name": "api_response",
"value": "show_menu"
},
{
"context": "api_response_0",
"name": "response",
"value": "{\"success\":true}"
},
{
"context": "api_call_1",
"name": "api_call",
"value": "get_menu_items"
},
{
"context": "api_call_1",
"name": "request",
"value": "{\"query\": \"herbal tea\"}"
},
{
"context": "api_response_1",
"name": "api_response",
"value": "get_menu_items"
},
{
"context": "api_response_1",
"name": "response",
"value": "{\"menu_items\":[{\"menu_item_id\":\"90969\",\"name\":\"Ginseng tea\"}, {\"menu_item_id\":\"56056\",\"name\":\"earl grey\"}, {\"menu_item_id\":\"66081\",\"name\":\"brown tea\"}]}"
}
],
"index": 0,
"segments": [],
"speaker": "user",
"text": "What types of herbal tea do you carry?"
},
{
"annotations": [],
"index": 1,
"segments": [],
"speaker": "assistant",
"text": "We have Ginseng tea, earl grey, and brown tea."
}
] |
dlg-87693214-5e5a-474c-bda3-ee7983d19cbe | Coffee | Auto template 10 order a coffee drink with first name | null | [
{
"annotations": [
{
"context": "api_call_0",
"name": "api_call",
"value": "get_menu_items"
},
{
"context": "api_call_0",
"name": "request",
"value": "{\"query\": \"Latte\"}"
},
{
"context": "api_response_0",
"name": "api_response",
"value": "get_menu_items"
},
{
"context": "api_response_0",
"name": "response",
"value": "{\"menu_items\":[{\"menu_item_id\":\"latte-3232\",\"name\":\"Latte\"}]}"
},
{
"context": "api_call_1",
"name": "api_call",
"value": "add_order_item"
},
{
"context": "api_call_1",
"name": "request",
"value": "{\"menu_item_id\": \"latte-3232\",\"quantity\": \"1\"}"
},
{
"context": "api_response_1",
"name": "api_response",
"value": "add_order_item"
},
{
"context": "api_response_1",
"name": "response",
"value": "{\"order_id\": \"51238\",\"order_item_id\":\"95939\"}"
},
{
"context": "api_call_2",
"name": "api_call",
"value": "get_order_details"
},
{
"context": "api_call_2",
"name": "request",
"value": "{\"order_id\": \"51238\"}"
},
{
"context": "api_response_2",
"name": "api_response",
"value": "get_order_details"
},
{
"context": "api_response_2",
"name": "response",
"value": "{\"order_id\": \"51238\", \"attributes\": [{\"attribute_id\": \"name\", \"attribute_name\": \"Name\", \"option\": \"ace of spades\"},{\"attribute_id\": \"order-type\", \"attribute_name\": \"Order Type\", \"option\": \"here\"}], \"menu_items\": [{\"order_item_id\": \"95939\", \"menu_item_id\": \"latte-3232\", \"menu_item_name\": \"Latte\"}]}"
}
],
"index": 0,
"segments": [],
"speaker": "user",
"text": "Hi, I'm Jim. I want to buy a Latte."
},
{
"annotations": [],
"index": 1,
"segments": [],
"speaker": "assistant",
"text": "Okay. Can you confirm that this is your order?"
},
{
"annotations": [
{
"context": "api_call_3",
"name": "api_call",
"value": "get_addons"
},
{
"context": "api_call_3",
"name": "request",
"value": "{\"query\": \"decaf\", \"menu_item_id\":\"latte-3232\"}"
},
{
"context": "api_response_3",
"name": "api_response",
"value": "get_addons"
},
{
"context": "api_response_3",
"name": "response",
"value": "{\"attributes\": [{\"attribute_id\": \"caffeine\", \"attribute_name\": \"Caffeine\", \"options\":[\"Caff\",\"Decaf\"]}]}"
},
{
"context": "api_call_4",
"name": "api_call",
"value": "update_order_item"
},
{
"context": "api_call_4",
"name": "request",
"value": "{\"order_item_id\": \"95939\",\"attributes\": [{\"attribute_id\": \"caffeine\", \"option\":\"Decaf\"}]}"
},
{
"context": "api_response_4",
"name": "api_response",
"value": "update_order_item"
},
{
"context": "api_response_4",
"name": "response",
"value": "{\"order_item_id\":\"95939\"}"
},
{
"context": "api_call_5",
"name": "api_call",
"value": "get_order_details"
},
{
"context": "api_call_5",
"name": "request",
"value": "{\"order_id\": \"51238\"}"
},
{
"context": "api_response_5",
"name": "api_response",
"value": "get_order_details"
},
{
"context": "api_response_5",
"name": "response",
"value": "{\"order_id\": \"51238\", \"attributes\": [{\"attribute_id\": \"name\", \"attribute_name\": \"Name\", \"option\": \"ace of spades\"},{\"attribute_id\": \"order-type\", \"attribute_name\": \"Order Type\", \"option\": \"here\"}], \"menu_items\": [{\"order_item_id\": \"95939\", \"menu_item_id\": \"latte-3232\", \"menu_item_name\": \"Latte\", \"attributes\": [{\"attribute_id\": \"caffeine\", \"option\":\"Decaf\"}]}]}"
}
],
"index": 2,
"segments": [],
"speaker": "user",
"text": "No actually. I want to change it to decaf."
},
{
"annotations": [],
"index": 3,
"segments": [],
"speaker": "assistant",
"text": "So you'd like a decaffeinated Latte?"
},
{
"annotations": [
{
"context": "api_call_6",
"name": "api_call",
"value": "finish_order"
},
{
"context": "api_call_6",
"name": "request",
"value": "{\"order_id\": \"51238\"}"
},
{
"context": "api_response_6",
"name": "api_response",
"value": "finish_order"
},
{
"context": "api_response_6",
"name": "response",
"value": "{\"success\":true}"
}
],
"index": 4,
"segments": [],
"speaker": "user",
"text": "Yes I do."
},
{
"annotations": [],
"index": 5,
"segments": [],
"speaker": "assistant",
"text": "Got it. Your drink will be ready at the coffee bar."
}
] |
dlg-c568a105-df42-4fd6-8792-7e93c6d4d03a | Coffee | Auto template 29 Order two drinks differing by name and milk | *SCENARIO: Ordering from a coffee bar*
Imagine you're ordering a drink from the following menu:
*COFFEE BAR MENU - Assume all drinks are caffeinated for now; decaf NOT an option*
{{LIST *Matcha Latte* (12oz) (matcha concentrate + milk + foam),*Chai Latte* (12oz) (chai concentrate + milk + extra foam),*Latte* (12oz) (espresso + milk + foam),*Cappuccino* (8oz) (espresso + milk + extra foam),*Cortado* (4oz) (espresso + milk + extra foam),*Macchiato* (3oz) (espresso with a little foam),*Mocha* (12oz) (espresso + milk + chocolate + foam)}}
*CHOOSE TWO DRINKS*
{{ENTER drink1 drink Enter a drink from the list above.}}
{{ENTER menu_item_id1 drink Now write what you have entered above BUT (a) all in lowercase and (b) separated by hyphens ("-") and (c) followed by any 4-digit number. For example, "Latte" would become "latte-0371". NO SPACES, NO QUOTES.}}
{{ENTER drink2 drink Enter a DIFFERENT drink from the list above.}}
{{ENTER menu_item_id2 drink Now write again what you have entered just above but, again, (a) all in lowercase and (b) separated by hyphens ("-") and (c) followed by any 4-digit number. For example, "Latte" would become "mocha-6901". NO SPACES, NO QUOTES.}}
*MILK CHOICES - Assume 'whole milk' is the default option but you want a different milk*
{{LIST 2%, Non-Fat,Oat, 2% Lactose Free,Almond}}
{{ENTER milk1 milk Choose a type of milk from the list above}}
{{ENTER milk2 milk Choose a SECOND type of milk from the list above}}
*NAME*
{{ENTER name name Enter a playing card name like "ace of spades" or "two of clubs"--CHOOSE YOUR OWN.}}
*TASK: Write the transcript of a conversation that you would have with the worker.*
{{LIST Make this conversation sound like something you would expect at a real coffee bar,Make sure to use the words you would normally use to order these things---they don't have to match the menu exactly as long as they are common ways to order,The conversation will be written using the green and white dialog bubbles below (green dialog bubbles are for customer's turns and the white bubbles are for the worker's turns)}}
{{RAND order_id id 10000 99999}}
{{RAND order_item_id1 id 10000 99999}}
{{RAND order_item_id2 id 10000 99999}}
{{CONVERSATION
hint user (Suppose you were ordering *TWO* different drinks: a var_drink1 with var_milk1 milk and a var_drink2 with var_milk2 milk. How would YOU say this order? *Say it out loud first*.)
call get_menu_items request {"query": "var_drink1"}
response get_menu_items response {"menu_items":[{"menu_item_id":"var_menu_item_id1","name":"var_drink1"}]}
call get_addons request {"query": "var_milk1", "menu_item_id":"var_menu_item_id1"}
response get_addons response {"attributes": [{"attribute_id": "milk-options", "attribute_name": "Milk", "options":["No Milk", "Whole Milk","2% Milk", "Non-fat Milk", "Oat Milk","2% Lactose Free Milk", "Almond Milk"]}]}
call add_order_item request {"menu_item_id": "var_menu_item_id1","quantity": "1","attributes": [{"attribute_id": "milk-options", "option":"var_milk1 Milk"}]}
response add_order_item response {"order_id": "var_order_id","order_item_id":"var_order_item_id1"}
call get_menu_items request {"query": "var_drink2"}
response get_menu_items response {"menu_items":[{"menu_item_id":"var_menu_item_id2","name":"var_drink2"}]}
call add_order_item request {"order_id": "var_order_id","menu_item_id": "var_menu_item_id2","quantity": "1","attributes": [{"attribute_id": "milk-options", "option":"var_milk2 Milk"}]}
response add_order_item response {"order_id": "var_order_id","order_item_id":"var_order_item_id2"}
call get_order_details request {"order_id": "var_order_id"}
response get_order_details response {"order_id": "var_order_id", "attributes": [{"attribute_id": "name", "attribute_name": "Name", "option": "var_name"},{"attribute_id": "order-type", "attribute_name": "Order Type", "option": "here"}], "menu_items": [{"order_item_id": "var_order_item_id1", "menu_item_id": "var_menu_item_id1", "menu_item_name": "var_drink1", "quantity": "1", "attributes": [{"attribute_id": "milk-options", "option":"var_milk1 Milk"}]},{"order_item_id": "var_order_item_id2", "menu_item_id": "var_menu_item_id2", "menu_item_name": "var_drink2", "quantity": "1", "attributes": [{"attribute_id": "milk-options", "option":"var_milk2 Milk"}]}]}
hint assistant (Pretend the order is displayed to the customer but do NOT repeat the item name. The worker asks the customer to confirm the order is correct before sending it to the Coffee bar to be made --USE YOUR OWN WORDS).
hint user (answers yes)
call finish_order request {"order_id": "var_order_id"}
response finish_order response {"success":true}
hint assistant (Says OK and indicates the order will be ready shortly at the coffee bar-- USE YOUR OWN WORDS)
}}
{{CHECK confirm_flow The conversation sounds realistic and logical.}}
{{CHECK confirm_language The conversation contains no inappropriate language.}}
| [
{
"annotations": [
{
"context": "api_call_0",
"name": "api_call",
"value": "get_menu_items"
},
{
"context": "api_call_0",
"name": "request",
"value": "{\"query\": \"cortado\"}"
},
{
"context": "api_response_0",
"name": "api_response",
"value": "get_menu_items"
},
{
"context": "api_response_0",
"name": "response",
"value": "{\"menu_items\":[{\"menu_item_id\":\"cortado-7788\",\"name\":\"cortado\"}]}"
},
{
"context": "api_call_1",
"name": "api_call",
"value": "get_addons"
},
{
"context": "api_call_1",
"name": "request",
"value": "{\"query\": \"non-fat\", \"menu_item_id\":\"cortado-7788\"}"
},
{
"context": "api_response_1",
"name": "api_response",
"value": "get_addons"
},
{
"context": "api_response_1",
"name": "response",
"value": "{\"attributes\": [{\"attribute_id\": \"milk-options\", \"attribute_name\": \"Milk\", \"options\":[\"No Milk\", \"Whole Milk\",\"2% Milk\", \"Non-fat Milk\", \"Oat Milk\",\"2% Lactose Free Milk\", \"Almond Milk\"]}]}"
},
{
"context": "api_call_2",
"name": "api_call",
"value": "add_order_item"
},
{
"context": "api_call_2",
"name": "request",
"value": "{\"menu_item_id\": \"cortado-7788\",\"quantity\": \"1\",\"attributes\": [{\"attribute_id\": \"milk-options\", \"option\":\"non-fat Milk\"}]}"
},
{
"context": "api_response_2",
"name": "api_response",
"value": "add_order_item"
},
{
"context": "api_response_2",
"name": "response",
"value": "{\"order_id\": \"18031\",\"order_item_id\":\"39234\"}"
},
{
"context": "api_call_3",
"name": "api_call",
"value": "add_order_item"
},
{
"context": "api_call_3",
"name": "request",
"value": "{\"order_id\": \"18031\",\"menu_item_id\": \"mocha-0900\",\"quantity\": \"1\",\"attributes\": [{\"attribute_id\": \"milk-options\", \"option\":\"2% Milk\"}]}"
},
{
"context": "api_response_3",
"name": "api_response",
"value": "add_order_item"
},
{
"context": "api_response_3",
"name": "response",
"value": "{\"order_id\": \"18031\",\"order_item_id\":\"49200\"}"
},
{
"context": "api_call_4",
"name": "api_call",
"value": "get_order_details"
},
{
"context": "api_call_4",
"name": "request",
"value": "{\"order_id\": \"18031\"}"
},
{
"context": "api_response_4",
"name": "api_response",
"value": "get_order_details"
},
{
"context": "api_response_4",
"name": "response",
"value": "{\"order_id\": \"18031\", \"attributes\": [{\"attribute_id\": \"name\", \"attribute_name\": \"Name\", \"option\": \"five of spaded\"},{\"attribute_id\": \"order-type\", \"attribute_name\": \"Order Type\", \"option\": \"here\"}], \"menu_items\": [{\"order_item_id\": \"39234\", \"menu_item_id\": \"cortado-7788\", \"menu_item_name\": \"var_drink\", \"quantity\": \"1\", \"attributes\": [{\"attribute_id\": \"milk-options\", \"option\":\"non-fat Milk\"}]},{\"order_item_id\": \"49200\", \"menu_item_id\": \"mocha-0900\", \"menu_item_name\": \"var_drink\", \"quantity\": \"1\", \"attributes\": [{\"attribute_id\": \"milk-options\", \"option\":\"2% Milk\"}]}]}"
}
],
"index": 0,
"segments": [],
"speaker": "user",
"text": "I would like a non-fat cortado and a 2% mocha."
},
{
"annotations": [],
"index": 1,
"segments": [],
"speaker": "assistant",
"text": "Is the order on the display correct?"
},
{
"annotations": [
{
"context": "api_call_5",
"name": "api_call",
"value": "finish_order"
},
{
"context": "api_call_5",
"name": "request",
"value": "{\"order_id\": \"18031\"}"
},
{
"context": "api_response_5",
"name": "api_response",
"value": "finish_order"
},
{
"context": "api_response_5",
"name": "response",
"value": "{\"success\":true}"
}
],
"index": 2,
"segments": [],
"speaker": "user",
"text": "yes"
},
{
"annotations": [],
"index": 3,
"segments": [],
"speaker": "assistant",
"text": "OK, the coffee will be ready soon at the coffee bar."
}
] |
dlg-e4de89f9-a113-462b-9ca2-7421e090f86c | Coffee | Auto template 32 Order a coffee drink iced, choose milk, add sweetener | *SCENARIO: Ordering from a coffee bar*
Imagine you're ordering a drink from the following menu:
*COFFEE BAR MENU*
{{LIST *Latte* ,*Mocha*}}
*CHOOSE YOUR DRINK*
{{ENTER drink drink Enter a drink name from the list above.}}
{{ENTER menu_item_id drink Now write what you have entered above BUT (a) all in lowercase and (b) separated by hyphens ("-") and (c) followed by any 4-digit number. For example, "Latte" would become "latte-0371". NO SPACES, NO QUOTES.}}
*MILK CHOICES - Specify a milk from this list*
{{LIST 2%, Non-Fat,Oat, 2% Lactose Free,Almond}}
{{ENTER milk milk Choose a type of milk from the list above}}
*SWEETENERS*
{{LIST Vanilla Sweetener,Sugar Free Vanilla Sweetener,Hazelnut, Sweetener,Chocolate Sauce,Caramel Sauce}}
{{ENTER sweet sweet Enter ONE of the sweeteners from the above list exactly as it is written INCLUDING the word "Sweetener" or "Sauce".}}
{{ENTER addon_id id Now write what you have entered above BUT (a) all in lowercase and (b) separated by hyphens ("-") and (c) followed by any 3-digit number. For example, "Vanilla Sweetener" would become "vanilla-sweetener-028". NO SPACES, NO QUOTES.}}
*NAME*
{{ENTER name name Enter a playing card name like "ace of spades" or "two of clubs"--CHOOSE YOUR OWN.}}
*TASK: Write the transcript of a conversation that you would have with the coffee bar worker.*
{{LIST Make this conversation sound like something you would expect at a real coffee bar,Make sure to use the words you would normally use to order these things---they don't have to match the menu exactly as long as they are common ways to order,The conversation will be written using the green and white dialog bubbles below (green dialog bubbles are for customer's turns and the white bubbles are for the worker's turns)}}
{{RAND order_id id 10000 99999}}
{{RAND order_item_id id 10000 99999}}
{{CONVERSATION
hint user (Order a var_drink that has THREE modifications: (a) iced (b) var_milk milk and (c) var_sweet (in whatever order seems right). How would you say it? *Say it out loud first* then write it.)
call get_menu_items request {"query": "var_drink"}
response get_menu_items response {"menu_items":[{"menu_item_id":"var_menu_item_id","name":"var_drink"}]}
call get_addons request {"query": "iced OR var_milk milk OR var_sweet", "menu_item_id":"var_menu_item_id"}
response get_addons response {"attributes": [{"attribute_id": "hot-or-iced", "attribute_name": "Hot or Iced", "options":["Hot","Iced"]}, {"attribute_id": "milk-options", "attribute_name": "Milk", "options":["Whole Milk","2% Milk", "Non-fat Milk", "Oat Milk","2% Lactose Free Milk", "Almond Milk"]}], "addons": [{"addon_id": "var_addon_id", "name": "var_sweet", "default": "NO", "options": ["NO", "ADD"]}]}
call add_order_item request {"menu_item_id": "var_menu_item_id","quantity": "1", "attributes": [{"attribute_id": "hot-or-iced", "option":"Iced"}, {"attribute_id": "milk-options", "option":"var_milk Milk"}], "addons": [{"addon_id": "var_addon_id", "option":"ADD"}]}
response add_order_item response {"order_id": "var_order_id","order_item_id":"var_order_item_id"}
call get_order_details request {"order_id": "var_order_id"}
response get_order_details response {"order_id": "var_order_id", "attributes": [{"attribute_id": "name", "attribute_name": "Name", "option": "var_name"},{"attribute_id": "order-type", "attribute_name": "Order Type", "option": "here"}], "menu_items": [{"order_item_id": "var_order_item_id", "menu_item_id": "var_menu_item_id", "menu_item_name": "var_drink", "addons": [{"addon_id": "var_addon_id", "option":"ADD"}], "attributes": [{"attribute_id": "hot-or-iced", "option":"Iced"},{"attribute_id": "milk-options", "option":"var_milk Milk"}]}]}
force assistant Is the order displayed correct?
hint user (answers yes)
call finish_order request {"order_id": "var_order_id"}
response finish_order response {"success":true}
force assistant OK. Your order will be ready shortly. Have a Brew-tiful day!
}}
{{CHECK confirm_flow The conversation sounds realistic and logical.}}
{{CHECK confirm_language The conversation contains no inappropriate language.}}
| [
{
"annotations": [
{
"context": "api_call_0",
"name": "api_call",
"value": "get_menu_items"
},
{
"context": "api_call_0",
"name": "request",
"value": "{\"query\": \"Latte\"}"
},
{
"context": "api_response_0",
"name": "api_response",
"value": "get_menu_items"
},
{
"context": "api_response_0",
"name": "response",
"value": "{\"menu_items\":[{\"menu_item_id\":\"latte-8855\",\"name\":\"Latte\"}]}"
},
{
"context": "api_call_1",
"name": "api_call",
"value": "get_addons"
},
{
"context": "api_call_1",
"name": "request",
"value": "{\"query\": \"iced OR oat milk OR Sweetener\", \"menu_item_id\":\"latte-8855\"}"
},
{
"context": "api_response_1",
"name": "api_response",
"value": "get_addons"
},
{
"context": "api_response_1",
"name": "response",
"value": "{\"attributes\": [{\"attribute_id\": \"hot-or-iced\", \"attribute_name\": \"Hot or Iced\", \"options\":[\"Hot\",\"Iced\"]}, {\"attribute_id\": \"milk-options\", \"attribute_name\": \"Milk\", \"options\":[\"Whole Milk\",\"2% Milk\", \"Non-fat Milk\", \"Oat Milk\",\"2% Lactose Free Milk\", \"Almond Milk\"]}], \"addons\": [{\"addon_id\": \"sweetener-985\", \"name\": \"Sweetener\", \"default\": \"NO\", \"options\": [\"NO\", \"ADD\"]}]}"
},
{
"context": "api_call_2",
"name": "api_call",
"value": "add_order_item"
},
{
"context": "api_call_2",
"name": "request",
"value": "{\"menu_item_id\": \"latte-8855\",\"quantity\": \"1\", \"attributes\": [{\"attribute_id\": \"hot-or-iced\", \"option\":\"Iced\"}, {\"attribute_id\": \"milk-options\", \"option\":\"oat Milk\"}], \"addons\": [{\"addon_id\": \"sweetener-985\", \"option\":\"ADD\"}]}"
},
{
"context": "api_response_2",
"name": "api_response",
"value": "add_order_item"
},
{
"context": "api_response_2",
"name": "response",
"value": "{\"order_id\": \"53792\",\"order_item_id\":\"93579\"}"
},
{
"context": "api_call_3",
"name": "api_call",
"value": "get_order_details"
},
{
"context": "api_call_3",
"name": "request",
"value": "{\"order_id\": \"53792\"}"
},
{
"context": "api_response_3",
"name": "api_response",
"value": "get_order_details"
},
{
"context": "api_response_3",
"name": "response",
"value": "{\"order_id\": \"53792\", \"attributes\": [{\"attribute_id\": \"name\", \"attribute_name\": \"Name\", \"option\": \"two of hearts\"},{\"attribute_id\": \"order-type\", \"attribute_name\": \"Order Type\", \"option\": \"here\"}], \"menu_items\": [{\"order_item_id\": \"93579\", \"menu_item_id\": \"latte-8855\", \"menu_item_name\": \"Latte\", \"addons\": [{\"addon_id\": \"sweetener-985\", \"option\":\"ADD\"}], \"attributes\": [{\"attribute_id\": \"hot-or-iced\", \"option\":\"Iced\"},{\"attribute_id\": \"milk-options\", \"option\":\"oat Milk\"}]}]}"
}
],
"index": 0,
"segments": [],
"speaker": "user",
"text": "I would like an iced latte with oat milk and sweetner."
},
{
"annotations": [],
"index": 1,
"segments": [],
"speaker": "assistant",
"text": "Is the order displayed correct?"
},
{
"annotations": [
{
"context": "api_call_4",
"name": "api_call",
"value": "finish_order"
},
{
"context": "api_call_4",
"name": "request",
"value": "{\"order_id\": \"53792\"}"
},
{
"context": "api_response_4",
"name": "api_response",
"value": "finish_order"
},
{
"context": "api_response_4",
"name": "response",
"value": "{\"success\":true}"
}
],
"index": 2,
"segments": [],
"speaker": "user",
"text": "yes"
},
{
"annotations": [],
"index": 3,
"segments": [],
"speaker": "assistant",
"text": "OK. Your order will be ready shortly. Have a Brew-tiful day!"
}
] |
dlg-ea260620-5d04-4cc2-b142-641e9a926ad0 | Coffee | Auto template 3 order a coffee drink mod sweetener | *SCENARIO: Ordering from a coffee bar*
Imagine you're ordering a drink from the following menu:
*COFFEE BAR MENU - Assume all drinks are caffeinated for now; decaf NOT an option*
{{LIST *Latte* (12oz) (espresso + milk + foam),*Cappuccino* (8oz) (espresso + milk + extra foam),*Americano* (10oz) (espresso + hot water)}}
*CHOOSE YOUR DRINK*
{{ENTER drink drink Enter a drink from the list above.}}
{{ENTER menu_item_id drink Now write what you have entered above BUT (a) all in lowercase and (b) separated by hyphens ("-") and (c) followed by any 4-digit number. For example, "Latte" would become "latte-0371". NO SPACES. NO QUOTES}}
*SWEETENERS*
{{LIST Vanilla Sweetener,Sugar Free Vanilla Sweetener,Hazelnut Sweetener,Chocolate Sauce,Caramel Sauce}}
{{ENTER sweet sweet Enter ONE of the sweeteners from the above list exactly as it is written INCLUDING the word "Sweetener" or "Sauce".}}
{{ENTER addon_id id Now write what you have entered above BUT (a) all in lowercase and (b) separated by hyphens ("-") and (c) followed by any 3-digit number. For example, "Vanilla Sweetener" would become "vanilla-sweetener-028". NO SPACES, NO QUOTES.}}
*TASK: Write the transcript of a conversation that you would have with the coffee bar worker.*
{{LIST Make this conversation sound like something you would expect at a real coffee bar,Make sure to use the words you would normally use to order these things---they don't have to match the menu exactly as long as they are common ways to order,The conversation will be written using the green and white dialog bubbles below (green dialog bubbles are for customer's turns and the white bubbles are for the worker's turns)}}
{{RAND order_id id 10000 99999}}
{{RAND order_item_id id 10000 99999}}
{{CONVERSATION
hint user (Order a var_drink that has var_sweet. Do NOT use the word "sweetener" or "sauce" (unless you really think you'd use it in the cafe). How would you say it? *Say it out loud first*. If you don't know how it is usually said, ask someone who would know. )
call get_menu_items request {"query": "var_drink"}
response get_menu_items response {"menu_items":[{"menu_item_id":"var_menu_item_id","name":"var_drink"}]}
call get_addons request {"query": "var_sweet", "menu_item_id": "var_menu_item_id"}
response get_addons response {"addons": [{"addon_id": "var_addon_id", "name": "var_sweet", "default": "NO", "options": ["NO", "ADD"]}]}
call add_order_item request {"menu_item_id": "var_menu_item_id","quantity": "1", "addons": [{"addon_id": "var_addon_id", "option":"ADD"}]}
response add_order_item response {"order_id": "var_order_id","order_item_id":"var_order_item_id"}
call get_order_details request {"order_id": "var_order_id"}
response get_order_details response {"order_id": "var_order_id", "attributes": [{"attribute_id": "order-type", "attribute_name": "Order Type", "option": "here"}], "menu_items": [{"order_item_id": "var_order_item_id", "menu_item_id": "var_menu_item_id", "menu_item_name": "var_drink", "addons": [{"addon_id": "var_addon_id", "option":"ADD"}]}]}
hint assistant (Pretend the order is displayed to the customer but do NOT repeat the item name. The worker asks the customer to confirm the order is correct before sending it to the Coffee bar to be made --USE YOUR OWN WORDS).
hint user (confirms details are right)
call finish_order request {"order_id": "var_order_id"}
response finish_order response {"success":true}
hint assistant (Acknowledges and indicates the order will be ready shortly -- USE YOUR OWN WORDS)
}}
{{CHECK confirm_flow The conversation sounds realistic and logical.}}
{{CHECK confirm_language The conversation contains no inappropriate language.}}
| [
{
"annotations": [
{
"context": "api_call_0",
"name": "api_call",
"value": "get_menu_items"
},
{
"context": "api_call_0",
"name": "request",
"value": "{\"query\": \"Americano\"}"
},
{
"context": "api_response_0",
"name": "api_response",
"value": "get_menu_items"
},
{
"context": "api_response_0",
"name": "response",
"value": "{\"menu_items\":[{\"menu_item_id\":\"americano-8887\",\"name\":\"Americano\"}]}"
},
{
"context": "api_call_1",
"name": "api_call",
"value": "get_addons"
},
{
"context": "api_call_1",
"name": "request",
"value": "{\"query\": \"Chocolate Sauce\", \"menu_item_id\": \"americano-8887\"}"
},
{
"context": "api_response_1",
"name": "api_response",
"value": "get_addons"
},
{
"context": "api_response_1",
"name": "response",
"value": "{\"addons\": [{\"addon_id\": \"chocolate-sauce-567\", \"name\": \"Chocolate Sauce\", \"default\": \"NO\", \"options\": [\"NO\", \"ADD\"]}]}"
},
{
"context": "api_call_2",
"name": "api_call",
"value": "add_order_item"
},
{
"context": "api_call_2",
"name": "request",
"value": "{\"menu_item_id\": \"americano-8887\",\"quantity\": \"1\", \"addons\": [{\"addon_id\": \"chocolate-sauce-567\", \"option\":\"ADD\"}]}"
},
{
"context": "api_response_2",
"name": "api_response",
"value": "add_order_item"
},
{
"context": "api_response_2",
"name": "response",
"value": "{\"order_id\": \"90753\",\"order_item_id\":\"52528\"}"
},
{
"context": "api_call_3",
"name": "api_call",
"value": "get_order_details"
},
{
"context": "api_call_3",
"name": "request",
"value": "{\"order_id\": \"90753\"}"
},
{
"context": "api_response_3",
"name": "api_response",
"value": "get_order_details"
},
{
"context": "api_response_3",
"name": "response",
"value": "{\"order_id\": \"90753\", \"attributes\": [{\"attribute_id\": \"order-type\", \"attribute_name\": \"Order Type\", \"option\": \"here\"}], \"menu_items\": [{\"order_item_id\": \"52528\", \"menu_item_id\": \"americano-8887\", \"menu_item_name\": \"Americano\", \"addons\": [{\"addon_id\": \"chocolate-sauce-567\", \"option\":\"ADD\"}]}]}"
}
],
"index": 0,
"segments": [],
"speaker": "user",
"text": "Hi, could I get an Americano with Chocolate, please?"
},
{
"annotations": [],
"index": 1,
"segments": [],
"speaker": "assistant",
"text": "Yes I can, soes this look correct to you?"
},
{
"annotations": [
{
"context": "api_call_4",
"name": "api_call",
"value": "finish_order"
},
{
"context": "api_call_4",
"name": "request",
"value": "{\"order_id\": \"90753\"}"
},
{
"context": "api_response_4",
"name": "api_response",
"value": "finish_order"
},
{
"context": "api_response_4",
"name": "response",
"value": "{\"success\":true}"
}
],
"index": 2,
"segments": [],
"speaker": "user",
"text": "Everything looks good."
},
{
"annotations": [],
"index": 3,
"segments": [],
"speaker": "assistant",
"text": "Okay, I'll get that right out."
}
] |
dlg-a4324385-3d6b-4eb0-9c29-f33506bcd1ad | Coffee | Auto template 25 What's in a <drink> | *SCENARIO: Ordering from a coffee bar*
*OTHER BEVERAGES on the COFFEE BAR MENU*
{{LIST *Matcha Latte* - The Matcha Latte has matcha concentrate with milk and microfoam (12 oz),*Chai Latte* - The Chai Latte is made with chai concentrate with milk and microfoam (12 oz),*Steamer* - The Steamer is just steamed milk and microfoam (12 oz),*Americano* - The Americano is a mix of espresso and hot water (10 oz),*Cold Brew* - Our Cold Brew is made from coffee concentrate and ice (16 oz)}}
{{ENTER drink drink Enter just the drink name from one of the list choices above.}}
{{ENTER menu_item_id id Now enter the drink name except all lowercase letters and no spaces. The words in the name should be separated by hyphens ("-") and followed by any 4-digit number. So "Coca Cola" would become "coca-cola-9865".}}
{{ENTER details details Now enter just the description from your choice above (the NON-bolded phrase that describes what's in the drink.)}}
{{CONVERSATION
hint user (Asks about the ingredients of a(n) var_drink--NO NEED to use the word "ingredients"--Just ask it in a natural way)
call get_menu_items request {"query": "var_drink", "fields": ["description"]}
response get_menu_items response {"menu_items": [{"description": "var_details", "menu_item_id": "var_menu_item_id", "name": "var_drink"}]}
hint assistant (Say this in a slightly different way: var_details.)
}}
| [
{
"annotations": [
{
"context": "api_call_0",
"name": "api_call",
"value": "get_menu_items"
},
{
"context": "api_call_0",
"name": "request",
"value": "{\"query\": \"Steamer\", \"fields\": [\"description\"]}"
},
{
"context": "api_response_0",
"name": "api_response",
"value": "get_menu_items"
},
{
"context": "api_response_0",
"name": "response",
"value": "{\"menu_items\": [{\"description\": \"Steam milk and microfoam (12oz)\", \"menu_item_id\": \"steamer-3467\", \"name\": \"Steamer\"}]}"
}
],
"index": 0,
"segments": [],
"speaker": "user",
"text": "What is in a steamer?"
},
{
"annotations": [],
"index": 1,
"segments": [],
"speaker": "assistant",
"text": "It’s just steam milk and microfoam in 12 oz cup. \\r"
}
] |