Spaces:
Sleeping
Sleeping
update follow-up questions in scenarios for clarity and relevance
Browse files
src/agents/role_play/scenarios.py
CHANGED
|
@@ -29,39 +29,39 @@ SCENARIOS = [
|
|
| 29 |
],
|
| 30 |
"follow_up_questions": {
|
| 31 |
"Study Plans": [
|
| 32 |
-
"
|
| 33 |
-
"
|
| 34 |
-
"
|
| 35 |
-
"
|
| 36 |
-
"
|
| 37 |
],
|
| 38 |
"University Choice": [
|
| 39 |
-
"
|
| 40 |
-
"
|
| 41 |
-
"
|
| 42 |
-
"How
|
| 43 |
-
"What
|
| 44 |
],
|
| 45 |
"Academic Capability": [
|
| 46 |
-
"
|
| 47 |
-
"
|
| 48 |
-
"
|
| 49 |
-
"How
|
| 50 |
-
"
|
| 51 |
],
|
| 52 |
"Financial Status": [
|
| 53 |
-
"How
|
| 54 |
-
"
|
| 55 |
-
"
|
| 56 |
-
"
|
| 57 |
-
"
|
| 58 |
],
|
| 59 |
"Post-Graduation Plans": [
|
| 60 |
-
"What
|
| 61 |
-
"
|
| 62 |
-
"
|
| 63 |
-
"
|
| 64 |
-
"What
|
| 65 |
],
|
| 66 |
},
|
| 67 |
},
|
|
@@ -97,29 +97,39 @@ SCENARIOS = [
|
|
| 97 |
],
|
| 98 |
"follow_up_questions": {
|
| 99 |
"Getting a Table": [
|
| 100 |
-
"
|
| 101 |
-
"
|
| 102 |
-
"
|
|
|
|
|
|
|
| 103 |
],
|
| 104 |
"Asking About the Menu": [
|
| 105 |
-
"
|
| 106 |
-
"
|
| 107 |
-
"
|
|
|
|
|
|
|
| 108 |
],
|
| 109 |
"Making a Food Order": [
|
| 110 |
-
"
|
| 111 |
-
"
|
| 112 |
-
"
|
|
|
|
|
|
|
| 113 |
],
|
| 114 |
"Special Requests or Allergies": [
|
| 115 |
-
"
|
| 116 |
-
"
|
| 117 |
-
"
|
|
|
|
|
|
|
| 118 |
],
|
| 119 |
"Paying the Bill": [
|
| 120 |
-
"
|
| 121 |
-
"
|
| 122 |
-
"
|
|
|
|
|
|
|
| 123 |
],
|
| 124 |
},
|
| 125 |
},
|
|
@@ -155,29 +165,39 @@ SCENARIOS = [
|
|
| 155 |
],
|
| 156 |
"follow_up_questions": {
|
| 157 |
"Asking for Help": [
|
| 158 |
-
"
|
| 159 |
-
"
|
| 160 |
-
"Do you
|
|
|
|
|
|
|
| 161 |
],
|
| 162 |
"Describing What You're Looking For": [
|
| 163 |
-
"
|
| 164 |
-
"Do you
|
| 165 |
-
"
|
|
|
|
|
|
|
| 166 |
],
|
| 167 |
"Asking About Price or Size": [
|
| 168 |
-
"
|
| 169 |
-
"
|
| 170 |
-
"
|
|
|
|
|
|
|
| 171 |
],
|
| 172 |
"Trying or Testing Products": [
|
| 173 |
-
"
|
| 174 |
-
"
|
| 175 |
-
"
|
|
|
|
|
|
|
| 176 |
],
|
| 177 |
"Making the Purchase or Returning": [
|
| 178 |
-
"
|
| 179 |
-
"
|
| 180 |
-
"
|
|
|
|
|
|
|
| 181 |
],
|
| 182 |
},
|
| 183 |
},
|
|
@@ -192,4 +212,4 @@ def get_scenario_by_id(scenario_id: str):
|
|
| 192 |
for scenario in SCENARIOS:
|
| 193 |
if scenario["id"] == scenario_id:
|
| 194 |
return scenario
|
| 195 |
-
return None
|
|
|
|
| 29 |
],
|
| 30 |
"follow_up_questions": {
|
| 31 |
"Study Plans": [
|
| 32 |
+
"Could you explain why studying abroad is important for my career?",
|
| 33 |
+
"What opportunities will international exposure provide?",
|
| 34 |
+
"How can I convince you that I will return to my home country?",
|
| 35 |
+
"What documents do I need to prove my study plans?",
|
| 36 |
+
"How long will it take to process my visa application?",
|
| 37 |
],
|
| 38 |
"University Choice": [
|
| 39 |
+
"Is this university accredited and recognized?",
|
| 40 |
+
"What makes this institution suitable for my field of study?",
|
| 41 |
+
"Are there any concerns about my university choice?",
|
| 42 |
+
"How competitive is admission to this program?",
|
| 43 |
+
"What research facilities does this university offer?",
|
| 44 |
],
|
| 45 |
"Academic Capability": [
|
| 46 |
+
"Are my grades sufficient for this program?",
|
| 47 |
+
"Do I need to take any additional language tests?",
|
| 48 |
+
"What if my academic background is different from my chosen field?",
|
| 49 |
+
"How can I prove my academic capability?",
|
| 50 |
+
"Are there any prerequisite courses I should complete?",
|
| 51 |
],
|
| 52 |
"Financial Status": [
|
| 53 |
+
"How much money do I need to show for my visa application?",
|
| 54 |
+
"Is my financial documentation sufficient?",
|
| 55 |
+
"What if I don't have enough funds in my account?",
|
| 56 |
+
"Can my family sponsor my education?",
|
| 57 |
+
"What are the living costs in the destination country?",
|
| 58 |
],
|
| 59 |
"Post-Graduation Plans": [
|
| 60 |
+
"What are my job prospects after graduation?",
|
| 61 |
+
"Can I work while studying?",
|
| 62 |
+
"How will this degree help me in my home country?",
|
| 63 |
+
"Are there opportunities to extend my stay after graduation?",
|
| 64 |
+
"What if I want to pursue further studies?",
|
| 65 |
],
|
| 66 |
},
|
| 67 |
},
|
|
|
|
| 97 |
],
|
| 98 |
"follow_up_questions": {
|
| 99 |
"Getting a Table": [
|
| 100 |
+
"Do you have any tables available right now?",
|
| 101 |
+
"Can we get a table by the window?",
|
| 102 |
+
"How long is the wait for a table?",
|
| 103 |
+
"Is there a non-smoking section available?",
|
| 104 |
+
"Can we sit on the terrace?",
|
| 105 |
],
|
| 106 |
"Asking About the Menu": [
|
| 107 |
+
"What's your signature dish?",
|
| 108 |
+
"Do you have any vegetarian options?",
|
| 109 |
+
"What do you recommend for someone who likes spicy food?",
|
| 110 |
+
"Are there any daily specials today?",
|
| 111 |
+
"Can you tell me about this dish on the menu?",
|
| 112 |
],
|
| 113 |
"Making a Food Order": [
|
| 114 |
+
"Can I have the steak medium-rare, please?",
|
| 115 |
+
"What sides come with this dish?",
|
| 116 |
+
"Can you recommend a wine to go with my meal?",
|
| 117 |
+
"Is it possible to make this dish less spicy?",
|
| 118 |
+
"How long will it take for the food to arrive?",
|
| 119 |
],
|
| 120 |
"Special Requests or Allergies": [
|
| 121 |
+
"I'm allergic to nuts - is this dish safe for me?",
|
| 122 |
+
"Can you prepare this without dairy products?",
|
| 123 |
+
"Is it possible to get the sauce on the side?",
|
| 124 |
+
"Do you have gluten-free options?",
|
| 125 |
+
"Can you make this dish without onions?",
|
| 126 |
],
|
| 127 |
"Paying the Bill": [
|
| 128 |
+
"Can we have the check, please?",
|
| 129 |
+
"Do you accept credit cards?",
|
| 130 |
+
"Is the tip included in the bill?",
|
| 131 |
+
"Can we split the bill between us?",
|
| 132 |
+
"Do you need to see my ID for the credit card?",
|
| 133 |
],
|
| 134 |
},
|
| 135 |
},
|
|
|
|
| 165 |
],
|
| 166 |
"follow_up_questions": {
|
| 167 |
"Asking for Help": [
|
| 168 |
+
"Excuse me, could you help me find something?",
|
| 169 |
+
"Where can I find the electronics department?",
|
| 170 |
+
"Do you work here? I need some assistance.",
|
| 171 |
+
"Can you show me where the fitting rooms are?",
|
| 172 |
+
"Is there someone who can help me with sizes?",
|
| 173 |
],
|
| 174 |
"Describing What You're Looking For": [
|
| 175 |
+
"I'm looking for a blue shirt in medium size.",
|
| 176 |
+
"Do you have this jacket in other colors?",
|
| 177 |
+
"I need something formal for a wedding.",
|
| 178 |
+
"Where are your casual summer clothes?",
|
| 179 |
+
"Do you carry this particular brand?",
|
| 180 |
],
|
| 181 |
"Asking About Price or Size": [
|
| 182 |
+
"How much does this cost?",
|
| 183 |
+
"Do you have this in a larger size?",
|
| 184 |
+
"Is there a discount on this item?",
|
| 185 |
+
"What's the price range for these products?",
|
| 186 |
+
"Do you have anything cheaper than this?",
|
| 187 |
],
|
| 188 |
"Trying or Testing Products": [
|
| 189 |
+
"Can I try this on?",
|
| 190 |
+
"Where are the changing rooms?",
|
| 191 |
+
"Does this come with a warranty?",
|
| 192 |
+
"Can I test this product before buying?",
|
| 193 |
+
"Is it possible to return this if it doesn't fit?",
|
| 194 |
],
|
| 195 |
"Making the Purchase or Returning": [
|
| 196 |
+
"I'd like to buy this, please.",
|
| 197 |
+
"Do you accept credit cards?",
|
| 198 |
+
"Can I get a receipt?",
|
| 199 |
+
"What's your return policy?",
|
| 200 |
+
"Can I exchange this for a different size?",
|
| 201 |
],
|
| 202 |
},
|
| 203 |
},
|
|
|
|
| 212 |
for scenario in SCENARIOS:
|
| 213 |
if scenario["id"] == scenario_id:
|
| 214 |
return scenario
|
| 215 |
+
return None
|