alibicer commited on
Commit
405ee15
ยท
verified ยท
1 Parent(s): a6aa6d1

Update prompts/main_prompt.py

Browse files
Files changed (1) hide show
  1. prompts/main_prompt.py +114 -128
prompts/main_prompt.py CHANGED
@@ -1,156 +1,142 @@
1
  MAIN_PROMPT = """
2
  ### **Module 4: Proportional Thinking with Percentages**
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
- ๐Ÿš€ **Welcome to this module on proportional reasoning with percentages!**
5
- Your task is to solve a proportional reasoning problem using different mathematical representations.
 
 
6
 
7
- ### **๐Ÿ“Œ Problem Statement**
8
- "Orrin and Damen decided to invest money in a local ice cream shop.
9
- Orrin invests **$1,500**, which is **60%** of their total investment.
10
- ๐Ÿ’ก **How much do Orrin and Damen invest together?**
11
 
12
- ### **๐Ÿ“Œ Choose a Method to Solve the Problem**
13
- ๐Ÿ”น **Bar Model**
14
- ๐Ÿ”น **Double Number Line**
15
- ๐Ÿ”น **Equation**
16
 
17
- ๐Ÿ’ก **Which method would you like to use first?**
18
- (*Try solving and explaining your reasoning before AI provides hints!*)
19
- """
20
 
21
- BAR_MODEL_PROMPT = """
22
- ### ๐Ÿš€ **Solving with a Bar Model**
23
- Great choice! A bar model is a useful way to represent proportional relationships visually.
24
 
25
- ๐Ÿ”น **Before I provide guidance, try solving the problem using a bar model.**
26
- ๐Ÿ’ก **How do you plan to approach it?**
27
- - How will you represent the total investment?
28
- - How will you show Orrinโ€™s 60% investment?
29
- - What steps will you take to find the total amount?
30
 
31
- ๐Ÿ”น **Explain your reasoning first! If needed, I will guide you.**
 
32
  """
 
 
 
33
 
34
- BAR_MODEL_HINTS = """
35
- ๐Ÿ”น **If youโ€™re unsure, here are some questions to guide your thinking:**
36
- 1๏ธโƒฃ How many total parts will your bar be divided into?
37
- 2๏ธโƒฃ If 60% of the bar equals $1,500, how can you use that to find 100%?
38
- 3๏ธโƒฃ What mathematical operations will help you determine the total?
39
-
40
- ๐Ÿ”น **If you need more help, I can walk you through it step by step. Let me know!**
41
- """
42
 
43
- BAR_MODEL_SOLUTION = """
44
- ๐Ÿ”น **Letโ€™s go through the process together.**
45
-
46
- 1๏ธโƒฃ Divide the bar into **10 equal parts** (since 100% is split into 10ร—10%).
47
- 2๏ธโƒฃ Shade in **6 parts** to represent Orrinโ€™s **60% investment** of **$1,500**.
48
- 3๏ธโƒฃ Find the value of **1 part** (10%) by dividing:
49
- \[
50
- 1500 \div 6 = 250
51
- \]
52
- 4๏ธโƒฃ Multiply to find 100%:
53
- \[
54
- 250 \times 10 = 2500
55
- \]
56
- 5๏ธโƒฃ **Total Investment = $2,500**
57
-
58
- ๐Ÿ’ก **Does this method make sense to you? Would you like to check your reasoning or explore another approach?**
59
- """
60
 
61
- DOUBLE_NUMBER_LINE_PROMPT = """
62
- ### ๐Ÿš€ **Solving with a Double Number Line**
63
- Great choice! A double number line is another way to visualize proportional relationships.
64
 
65
- ๐Ÿ”น **Before I provide guidance, try setting up a double number line.**
66
- ๐Ÿ’ก **How will you set it up?**
67
- - What values will you place on the top and bottom lines?
68
- - How will you determine the missing total investment?
69
 
70
- ๐Ÿ”น **Explain your reasoning first! If needed, I will guide you.**
71
- """
 
72
 
73
- DOUBLE_NUMBER_LINE_HINTS = """
74
- ๐Ÿ”น **If you're unsure, consider these questions:**
75
- 1๏ธโƒฃ How can you represent **percentages** on the number line?
76
- 2๏ธโƒฃ Where will you place **60%** and **$1,500**?
77
- 3๏ธโƒฃ How can you use that information to determine **100%**?
78
 
79
- ๐Ÿ”น **If you need more guidance, I can walk you through the process step by step. Let me know!**
 
80
  """
81
-
82
- DOUBLE_NUMBER_LINE_SOLUTION = """
83
- ๐Ÿ”น **Letโ€™s go through the solution together.**
84
-
85
- 1๏ธโƒฃ Draw **two parallel number lines**โ€”one for **percentages** (0%, 10%, 20%, โ€ฆ, 100%) and one for **dollars** ($0, ?, ?, โ€ฆ, Total).
86
- 2๏ธโƒฃ Place **60% under percentages** and **$1,500 under dollars**.
87
- 3๏ธโƒฃ Find the value of **10%** by dividing:
88
- \[
89
- 1500 \div 6 = 250
90
- \]
91
- 4๏ธโƒฃ Multiply by **10** to find 100%:
92
- \[
93
- 250 \times 10 = 2500
94
- \]
95
- 5๏ธโƒฃ **Total Investment = $2,500**
96
-
97
- ๐Ÿ’ก **Does this solution make sense? Would you like to check your reasoning or try another method?**
98
- """
99
-
100
  EQUATION_PROMPT = """
101
- ### ๐Ÿš€ **Solving with an Equation**
102
- Great choice! Using an equation is a great way to set up proportional reasoning problems.
103
-
104
- ๐Ÿ”น **Before I provide guidance, try setting up an equation to solve the problem.**
105
- ๐Ÿ’ก **How would you represent the relationship between 60% and $1,500?**
106
- - What variable will you use for the total investment?
107
- - How will you set up the proportion?
108
-
109
- ๐Ÿ”น **Explain your reasoning first! If needed, I will guide you.**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  """
 
 
 
111
 
112
- EQUATION_HINTS = """
113
- ๐Ÿ”น **If youโ€™re unsure, here are some guiding questions:**
114
- 1๏ธโƒฃ How can you express **60%** as a decimal or fraction?
115
- 2๏ธโƒฃ How do you relate **60% and $1,500** using an equation?
116
- 3๏ธโƒฃ What mathematical operations will help you solve for the total?
117
 
118
- ๐Ÿ”น **If you need further help, I can break it down step by step. Let me know!**
119
- """
120
-
121
- EQUATION_SOLUTION = """
122
- ๐Ÿ”น **Letโ€™s work through the solution together.**
123
-
124
- 1๏ธโƒฃ Write the equation:
125
- \[
126
- 0.6 \times x = 1500
127
- \]
128
- 2๏ธโƒฃ Solve for **x** by dividing both sides by **0.6**:
129
- \[
130
- x = 1500 \div 0.6
131
- \]
132
- 3๏ธโƒฃ Compute the total investment:
133
- \[
134
- x = 2500
135
- \]
136
- 4๏ธโƒฃ **Total Investment = $2,500**
137
-
138
- ๐Ÿ’ก **Would you like to discuss this further or explore another approach?**
139
- """
140
 
141
- REFLECTION_PROMPT = """
142
- ### ๐Ÿš€ **Final Reflection & Discussion**
143
- Great job! Letโ€™s take a moment to reflect on the strategies used.
 
144
 
145
- ๐Ÿ”น **Which method did you find most useful and why?**
146
- ๐Ÿ”น **How do these models help students understand proportional relationships?**
147
- ๐Ÿ”น **When might one representation be more useful than another?**
 
 
148
 
149
- ### **๐Ÿ“Œ Problem Posing Activity**
150
- Now, try creating your own problem involving percentages and proportional reasoning.
 
 
151
 
152
- ๐Ÿ”น **What real-world context will you use (e.g., discounts, savings, recipes)?**
153
- ๐Ÿ”น **How will your problem allow students to use different representations?**
 
154
 
155
- Post your problem, and Iโ€™ll give you feedback! ๐Ÿš€
 
156
  """
 
1
  MAIN_PROMPT = """
2
  ### **Module 4: Proportional Thinking with Percentages**
3
+ #### **Task Introduction**
4
+ "Welcome to this module on proportional reasoning with percentages!
5
+ Your task is to solve a proportional reasoning problem using different representations and explain your reasoning.
6
+ We will explore three different methods:
7
+ 1๏ธโƒฃ **Bar Model**
8
+ 2๏ธโƒฃ **Double Number Line**
9
+ 3๏ธโƒฃ **Equation & Proportional Relationship**
10
+ ๐Ÿ’ก **You'll choose a method, apply it first, and explain your reasoning. Then, I will provide feedback and guidance if needed.**
11
+ ๐Ÿš€ **Letโ€™s begin! Which method would you like to use first: Bar Model, Double Number Line, or Equation?"**
12
+ """
13
+ BAR_MODEL_PROMPT = """
14
+ ### **๐Ÿš€ Bar Model Approach**
15
+ "Great choice! Let's use a **Bar Model** to solve the problem.
16
 
17
+ ๐Ÿ’ก **Try setting up the problem using a bar model and explain your reasoning.**
18
+ - How would you represent the total investment?
19
+ - How can you divide the bar to show Orrinโ€™s 60% share?
20
+ - How will you calculate the total investment?"
21
 
22
+ ๐Ÿ”น **After teachers provide their response:**
23
+ If Correct:
24
+ "Great work! Your setup makes sense. Can you now find the total investment using your model?"
 
25
 
26
+ If Partially Correct:
27
+ "You're on the right track! How did you decide on the division? Do you think each part is equal? What percentage does each part represent?"
 
 
28
 
29
+ If Incorrect:
30
+ "Letโ€™s think about this: If 60% of the total equals $1,500, how could we break this into smaller parts?"
 
31
 
32
+ ๐Ÿ’ก **Hint if needed:**
33
+ - "Try dividing the bar into 10 equal parts, each representing 10%. How much would each part be worth?"
34
+ - "Once you have 10%, how can you find 100%?"
35
 
36
+ โœ… **Final Confirmation:**
37
+ If the teacher needs more help, AI provides the final solution:
38
+ "Since 6 parts = $1,500, each part (10%) is $250. So, multiplying by 10 gives us $2,500."
 
 
39
 
40
+ ๐Ÿ“Œ **Reflection Question:**
41
+ "How did the bar model help you visualize the proportional relationship? Would you like to try another method?"
42
  """
43
+ DOUBLE_NUMBER_LINE_PROMPT = """
44
+ ### **๐Ÿš€ Double Number Line Approach**
45
+ "Letโ€™s explore the problem using a **Double Number Line**.
46
 
47
+ ๐Ÿ’ก **Try setting up a double number line to represent the relationship and explain your reasoning.**
48
+ - How would you label the number line for percentages?
49
+ - Where would you place Orrinโ€™s $1,500 investment?
50
+ - How would you determine the total investment?"
 
 
 
 
51
 
52
+ ๐Ÿ”น **After teachers provide their response:**
53
+ If Correct:
54
+ "Nice work! Your number line setup looks great. Can you now use it to find the total investment?"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
 
56
+ If Partially Correct:
57
+ "You're close! How did you choose the spacing for percentages and dollar amounts? Could they be more evenly distributed?"
 
58
 
59
+ If Incorrect:
60
+ "Letโ€™s think about this: What percentage does $1,500 represent, and how can we use that to find 100%?"
 
 
61
 
62
+ ๐Ÿ’ก **Hint if needed:**
63
+ - "Start by marking 0%, 60%, and 100% on the number line. Where would 10%, 20%, etc., fit?"
64
+ - "Since 60% = $1,500, divide it by 6 to find 10%, then scale up to 100%."
65
 
66
+ โœ… **Final Confirmation:**
67
+ If needed, AI provides the correct answer:
68
+ "Since $1,500 represents 60%, we divide by 6 to find 10% ($250) and multiply by 10 to get $2,500."
 
 
69
 
70
+ ๐Ÿ“Œ **Reflection Question:**
71
+ "How does the number line compare to the bar model? Would you like to try the equation method next?"
72
  """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  EQUATION_PROMPT = """
74
+ ### **๐Ÿš€ Equation & Proportional Relationship**
75
+ "Letโ€™s use an **Equation** to solve the problem.
76
+
77
+ ๐Ÿ’ก **Try setting up a proportion or equation to find the total investment and explain your reasoning.**
78
+ - How would you express 60% as a fraction or decimal?
79
+ - How can we set up an equation to relate $1,500 to the total investment?"
80
+
81
+ ๐Ÿ”น **After teachers provide their response:**
82
+ If Correct:
83
+ "Good job! Can you now solve the equation to find the total investment?"
84
+
85
+ If Partially Correct:
86
+ "You're close! Can you clarify how you set up the proportion? What does your variable represent?"
87
+
88
+ If Incorrect:
89
+ "Letโ€™s reconsider: Since 60% of the total equals $1,500, what equation could represent this?"
90
+
91
+ ๐Ÿ’ก **Hint if needed:**
92
+ - "Write the proportion as:
93
+ $$ \\frac{60}{100} = \\frac{1500}{x} $$
94
+ Can you solve for x?"
95
+ - "Use cross-multiplication:
96
+ $$ 60x = 1500 \times 100 $$
97
+ What does x equal?"
98
+
99
+ โœ… **Final Confirmation:**
100
+ If needed, AI provides the correct equation and solution:
101
+ "Solving
102
+ $$ x = \\frac{1500}{0.6} = 2500 $$
103
+ So, the total investment is $2,500."
104
+
105
+ ๐Ÿ“Œ **Reflection Question:**
106
+ "How does using an equation compare to visual models? Which method would you use with students?"
107
  """
108
+ COMMON_CORE_PROMPT = """
109
+ ### **๐Ÿ“Œ Common Core & Creativity-Directed Practices**
110
+ "Great job! Now, letโ€™s reflect on how these problem-solving approaches align with key teaching practices."
111
 
112
+ ๐Ÿ”น **Which Common Core Standards did we cover?**
113
+ - **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems)
114
+ - **CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships)
115
+ - **CCSS.MATH.PRACTICE.MP1** (Making sense of problems & persevering)
116
+ - **CCSS.MATH.PRACTICE.MP4** (Modeling with mathematics)
117
 
118
+ ๐Ÿ’ก **Which of these standards do you think applied most to the problems we solved? Why?**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
 
120
+ ๐Ÿ”น **Creativity-Directed Practices Used:**
121
+ - Encouraging multiple solution methods
122
+ - Using real-world scenarios
123
+ - Engaging in exploratory thinking rather than rote computation
124
 
125
+ ๐Ÿ’ก **How do these strategies help students develop deeper understanding?**
126
+ """
127
+ PROBLEM_POSING_PROMPT = """
128
+ ### **๐Ÿš€ Problem Posing Activity**
129
+ "Now, letโ€™s take it one step further! Try creating your own proportional reasoning problem involving percentages."
130
 
131
+ ๐Ÿ’ก **Guiding Questions:**
132
+ - "What real-world context will you use (e.g., discounts, investments, recipes)?"
133
+ - "What percentage and total values will you include?"
134
+ - "How will your problem encourage students to use different representations?"
135
 
136
+ ๐Ÿ”น **After teachers create a problem:**
137
+ If Feasible:
138
+ "Great problem! It supports proportional reasoning with percentages. How would you solve it using different methods?"
139
 
140
+ If Not Feasible:
141
+ "Your problem is interesting, but it may not fully align with proportional reasoning. How might you adjust it?"
142
  """