-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfractions.yml
246 lines (246 loc) · 10.2 KB
/
fractions.yml
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
version: '2.0'
config:
store_entities_as_slots: true
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
- answer_frq_fractions_halves:
use_entities: true
entities: []
slots:
1_friend_1:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
2_fractions_halves_mcq_1:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
2_fractions_halves_mcq_1_list:
type: rasa.shared.core.slots.ListSlot
initial_value:
- 0
- Here is a hint! In which option do you both get the same amount?
auto_fill: true
influence_conversation: true
3_fractions_halves_frq_1:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
1_object_2:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: true
2_fractions_parts_nrq_1:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
3_fractions_parts_mcq_1:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
4_fractions_parts_mcq_2:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
5_fractions_parts_mcq_3:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
6_fractions_parts_mcq_4:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
3_fractions_wholes_frq_1:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
1_fractions_wholes_nrq_1:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
2_fractions_wholes_nrq_2:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
4_fractions_wholes_nrq_3:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
5_fractions_wholes_nrq_4:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
6_fractions_wholes_nrq_5:
type: rasa.shared.core.slots.TextSlot
initial_value: null
auto_fill: true
influence_conversation: false
friend_2:
type: rasa.shared.core.slots.TextSlot
initial_value: Rajat
auto_fill: true
influence_conversation: false
object_1:
type: rasa.shared.core.slots.TextSlot
initial_value: Aloo Paratha
auto_fill: true
influence_conversation: false
responses:
utter_fractions_halves_introduction:
- text: Yay! Let's start with halves by talking about my favorite thing - food!
utter_ask_1_friend_1:
- text: Which of your friends do you like to eat with the most?
utter_question_2_fractions_halves_mcq_1:
- image: https://ecceapi.herokuapp.com/media/fractions_halves_mcq_1.png
text: |-
Imagine it is lunch time at {school} and {1_friend_1} wants to have some of your last {object_1}.
Which way of splitting do you think is fair to the both of you? 🧐
utter_2_fractions_halves_mcq_1_solution:
- text: The correct answer is option B!
utter_ask_3_fractions_halves_frq_1:
- text: "*WHY* do you think this split is 'fair'?"
utter_3_fractions_halves_frq_1_explanation:
- text: By splitting the {object_1} in this way, both you and {1_friend_1} get the same/ equal share.
utter_fractions_halves_conclusion:
- text: In fractions we would say that you and {1_friend_1} each got *one half (½)* of the *whole*. In the next lessons we explore the different *parts* that make up *wholes*
utter_fractions_parts_story_form_1_object_2:
- text: 'Right after you and {1_friend_1} finished your yummy (and equal!) {object_1}, {friend_2} sits at your table.
{friend_2} has 3 snacks: biscuits, grapes and chocolates. Which is your favorite?'
utter_ask_2_fractions_parts_nrq_1:
- text: |-
I love {1_object_2} too 😋!
{friend_2} has 6 {1_object_2}. How many do you each get if you split them equally between the three of you?
utter_2_fractions_parts_nrq_1_explanation:
- text: https://ecceapi.herokuapp.com/media/audio/fractions_parts_nrq_1_explanation.ogg
utter_ask_3_fractions_parts_mcq_1:
- text: If each of you got 2 {1_object_2}, what part of the whole (6 {1_object_2}) did you get?
utter_3_fractions_parts_mcq_1_options:
- text: Lets try again. This time I'll give you options - 1/6 , 2/3 , 1/3, 1
utter_3_fractions_parts_mcq_1_explanation:
- image: https://ecceapi.herokuapp.com/media/audio/fractions_parts_mcq_1_explanation.mp3
text: Listen to this!
utter_ask_4_fractions_parts_mcq_2:
- text: '{1_friend_1} gives you her 2 {1_object_2}. Now you have 2 out of the 3 equal parts. Do you get more or less than {friend_2}?'
utter_4_fractions_parts_mcq_2_explanation:
- image: https://ecceapi.herokuapp.com/media/fractions_parts_mcq_2_explanation.mp4
text: This animation might help!
utter_ask_5_fractions_parts_mcq_3:
- text: "{friend_2} is upset that you got more than they do :( Now, he wants you to share the {1_object_2} EQUALLY between the two of you.
If you split the object into 2 halves, do you get more or less than before?"
utter_5_fractions_parts_mcq_3_explanation:
- text: You split the food into two equal parts instead of three! Because there are fewer people to share with, each person now gets more {object_1}
utter_ask_6_fractions_parts_mcq_4:
- text: "Let's talk about that in fractions!
Is ½ of the 6 {1_object_2} more or less than ⅓ of the 6 {1_object_2}?"
utter_6_fractions_parts_mcq_4_explanation:
- image: https://ecceapi.herokuapp.com/media/audio/fractions_parts_mcq_4_explanation.mp3
text: Check this out
utter_fractions_parts_conclusion:
- text: "You have now explored the concept of parts. It is as easy as sharing food with friends 😀
Now we're going to put *parts* together to make a *whole*!"
utter_fractions_wholes_introduction:
- text: A farmer named Raju is overwhelmed with their harvest. He needs to split up his fruits into boxes. You can help him with FRACTIONS!
utter_fractions_wholes_introduction_hint:
- text: Whenever we are dealing with fractions it’s always a good idea to figure out what the *whole* is and what the *part* is.
utter_ask_1_fractions_wholes_nrq_1:
- text: Raju has 12 MANGOES 🥭 which he needs to split equally into 3 boxes. How many in each box?
utter_1_fractions_wholes_nrq_1_explanation:
- text: "12 split equally into 3 parts is 4. You can check that this is right by adding together all 3 equal parts: 4 + 4 + 4 = 12 mangoes!"
utter_ask_2_fractions_wholes_nrq_2:
- text: "Let's talk about this in fractions!
How much of the *whole* is in each box?"
utter_2_fractions_wholes_nrq_2_explanation:
- text: You can also look at the 3 boxes as 3 equal parts. Each box is then 1 out of 3 parts or ⅓ of the whole.
utter_ask_3_fractions_wholes_frq_1:
- text: "The farmer was grateful for your help and gifted you a box of 4 mangoes.
If you had to split this box into parts, what would be the whole?"
utter_3_fractions_wholes_frq_1_explanation:
- image: https://ecceapi.herokuapp.com/media/audio/fractions_wholes_frq_1_explanation.ogg
text: Hear why!
utter_ask_4_fractions_wholes_nrq_3:
- text: You split the mangoes evenly among 3 other family members, how many mangoes does each person get? (don't forget yourself!)
utter_4_fractions_wholes_nrq_3_explanation:
- text: When you split 4 mangoes equally between 4 people, each person gets 1 mango!
utter_ask_5_fractions_wholes_nrq_4:
- text: What fraction of the whole did each family member get?
utter_5_fractions_wholes_nrq_4_explanation:
- text: Each got 1 out of 4 parts, and so the fraction is ¼
utter_ask_6_fractions_wholes_nrq_5:
- text: Now that you’ve got one mango all to yourself, you want to cut your mango into 6 equal pieces. What fraction of the whole mango is each piece?
utter_6_fractions_wholes_nrq_5_explanation:
- text: You are cutting the mango into 6 equal parts so each slice of the mango is 1/6 of the whole.
utter_fractions_wholes_conclusion:
- text: Did you realise that the whole changed depending on what you're splitting?!
utter_fractions_wholes_conclusion_1:
- text: When the farmer was splitting 12 mangoes into 3 equal boxes, you identified 12 mangoes as the whole!
utter_fractions_wholes_conclusion_2:
- text: Later, when you had to share the box of 4 mangoes with your family, you identified 4 mangoes as the new whole!
utter_fractions_wholes_conclusion_3:
- text: Finally, when you were ready to eat one mango - you cut it into 6 slices. 1 mango was now the whole you are splitting into 6 parts!In fact, Fractions are how you divide/split *any whole*
actions:
- validate_fractions_halves_story_form
- action_ask_2_fractions_halves_mcq_1
- validate_fractions_parts_story_form
- action_ask_fractions_parts_story_form_1_object_2
- validate_fractions_wholes_story_form
forms:
fractions_halves_story_form:
1_friend_1:
- type: from_text
2_fractions_halves_mcq_1:
- entity: mcq_answer
type: from_entity
3_fractions_halves_frq_1:
- type: from_text
fractions_parts_story_form:
1_object_2:
- not_intent:
- stop
type: from_text
2_fractions_parts_nrq_1:
- entity: number
type: from_entity
3_fractions_parts_mcq_1:
- entity: number
type: from_entity
4_fractions_parts_mcq_2:
- type: from_text
5_fractions_parts_mcq_3:
- type: from_text
6_fractions_parts_mcq_4:
- type: from_text
fractions_wholes_story_form:
1_fractions_wholes_nrq_1:
- entity: number
type: from_entity
2_fractions_wholes_nrq_2:
- entity: number
type: from_entity
3_fractions_wholes_frq_1:
- type: from_text
4_fractions_wholes_nrq_3:
- entity: number
type: from_entity
5_fractions_wholes_nrq_4:
- entity: number
type: from_entity
6_fractions_wholes_nrq_5:
- entity: number
type: from_entity
e2e_actions: []