Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +34 -36
prompts/main_prompt.py
CHANGED
|
@@ -9,20 +9,19 @@ Your goal is to solve a real-world problem using different representations:
|
|
| 9 |
🚀 **Here’s the problem:**
|
| 10 |
**Orrin and Damen decided to invest money in a local ice cream shop. Orrin invests $1,500, which is 60% of their total investment. How much do Orrin and Damen invest together?**
|
| 11 |
|
| 12 |
-
💡 **
|
| 13 |
-
💡 **If needed, I will provide hints to help refine your approach.**
|
| 14 |
🚀 **Which method would you like to use first?**
|
| 15 |
(Type 'Bar Model,' 'Double Number Line,' or 'Equation' to proceed.)
|
| 16 |
"""
|
| 17 |
|
| 18 |
BAR_MODEL_PROMPT = """
|
| 19 |
### **🚀 Bar Model Approach**
|
| 20 |
-
"Great choice! The **Bar Model** is a
|
| 21 |
|
| 22 |
-
🔹 **
|
| 23 |
-
- How would you
|
| 24 |
-
- How would you divide
|
| 25 |
-
- How
|
| 26 |
|
| 27 |
✏️ **Type your explanation, and I will provide feedback before moving forward.**
|
| 28 |
"""
|
|
@@ -32,39 +31,38 @@ BAR_MODEL_FEEDBACK_PROMPT = """
|
|
| 32 |
|
| 33 |
🔹 **Key questions to check your model:**
|
| 34 |
- Did you represent the total investment as a full bar?
|
| 35 |
-
- Did you divide the bar into equal sections
|
| 36 |
-
- Did you shade
|
| 37 |
|
| 38 |
✏️ **Would you like to adjust anything before I provide hints?**
|
| 39 |
"""
|
| 40 |
|
| 41 |
BAR_MODEL_HINT_PROMPT = """
|
| 42 |
🔹 **Hint:**
|
| 43 |
-
|
| 44 |
-
✏️ **
|
| 45 |
"""
|
| 46 |
|
| 47 |
BAR_MODEL_SOLUTION_PROMPT = """
|
| 48 |
-
✅ **
|
| 49 |
|
| 50 |
-
1️⃣
|
| 51 |
-
2️⃣ Since Orrin’s $1,500
|
| 52 |
-
3️⃣
|
| 53 |
-
4️⃣ **
|
| 54 |
-
5️⃣ **Total investment =** $250 × 10 = **$2,500.**
|
| 55 |
|
| 56 |
-
💡 **Would you like to reflect on
|
| 57 |
(Type ‘Double Number Line’ or ‘Equation’ to proceed.)
|
| 58 |
"""
|
| 59 |
|
| 60 |
DOUBLE_NUMBER_LINE_PROMPT = """
|
| 61 |
### **🚀 Double Number Line Approach**
|
| 62 |
-
"Great choice! The **Double Number Line** helps
|
| 63 |
|
| 64 |
-
🔹 **
|
| 65 |
-
- How would you set up
|
| 66 |
-
- What would
|
| 67 |
-
- How
|
| 68 |
|
| 69 |
✏️ **Type your explanation, and I will provide feedback before moving forward.**
|
| 70 |
"""
|
|
@@ -81,20 +79,20 @@ DOUBLE_NUMBER_LINE_FEEDBACK_PROMPT = """
|
|
| 81 |
"""
|
| 82 |
|
| 83 |
DOUBLE_NUMBER_LINE_HINT_PROMPT = """
|
| 84 |
-
🔹 **Hint:**
|
| 85 |
-
✏️ **
|
| 86 |
"""
|
| 87 |
|
| 88 |
DOUBLE_NUMBER_LINE_SOLUTION_PROMPT = """
|
| 89 |
-
✅ **
|
| 90 |
|
| 91 |
1️⃣ One number line represents percentages (0% to 100%).
|
| 92 |
2️⃣ The second number line represents dollar values.
|
| 93 |
3️⃣ 60% corresponds to $1,500.
|
| 94 |
4️⃣ **10% =** $1,500 ÷ 6 = $250.
|
| 95 |
-
5️⃣ **100% =** $250 × 10 = **$2,500
|
| 96 |
|
| 97 |
-
💡 **Would you like to reflect on
|
| 98 |
(Type ‘Bar Model’ or ‘Equation’ to proceed.)
|
| 99 |
"""
|
| 100 |
|
|
@@ -102,8 +100,8 @@ EQUATION_PROMPT = """
|
|
| 102 |
### **🚀 Equation-Based Approach**
|
| 103 |
"Great choice! The **Equation Method** provides a direct algebraic approach.
|
| 104 |
|
| 105 |
-
🔹 **
|
| 106 |
-
- How can you express 60%
|
| 107 |
- What variable would represent the total investment?
|
| 108 |
- What equation would you set up to solve for the total?
|
| 109 |
|
|
@@ -113,23 +111,23 @@ EQUATION_PROMPT = """
|
|
| 113 |
EQUATION_FEEDBACK_PROMPT = """
|
| 114 |
✅ **Thanks for explaining! Let's check your equation:**
|
| 115 |
|
| 116 |
-
🔹 **Key questions to check your
|
| 117 |
-
- Did you
|
| 118 |
- Did you define a variable for the total investment?
|
| 119 |
|
| 120 |
✏️ **Would you like to adjust anything before I provide hints?**
|
| 121 |
"""
|
| 122 |
|
| 123 |
EQUATION_HINT_PROMPT = """
|
| 124 |
-
🔹 **Hint:**
|
| 125 |
\[
|
| 126 |
\frac{60}{100} = \frac{1500}{x}
|
| 127 |
-
\]
|
| 128 |
✏️ **Can you solve for x?**
|
| 129 |
"""
|
| 130 |
|
| 131 |
EQUATION_SOLUTION_PROMPT = """
|
| 132 |
-
✅ **
|
| 133 |
|
| 134 |
\[
|
| 135 |
\frac{60}{100} = \frac{1500}{x}
|
|
@@ -145,7 +143,7 @@ EQUATION_SOLUTION_PROMPT = """
|
|
| 145 |
x = \frac{1500 \times 100}{60} = 2500
|
| 146 |
\]
|
| 147 |
|
| 148 |
-
💡 **Would you like to reflect on
|
| 149 |
(Type ‘Bar Model’ or ‘Double Number Line’ to proceed.)
|
| 150 |
"""
|
| 151 |
|
|
|
|
| 9 |
🚀 **Here’s the problem:**
|
| 10 |
**Orrin and Damen decided to invest money in a local ice cream shop. Orrin invests $1,500, which is 60% of their total investment. How much do Orrin and Damen invest together?**
|
| 11 |
|
| 12 |
+
💡 **First, choose a method and explain your reasoning before receiving guidance.**
|
|
|
|
| 13 |
🚀 **Which method would you like to use first?**
|
| 14 |
(Type 'Bar Model,' 'Double Number Line,' or 'Equation' to proceed.)
|
| 15 |
"""
|
| 16 |
|
| 17 |
BAR_MODEL_PROMPT = """
|
| 18 |
### **🚀 Bar Model Approach**
|
| 19 |
+
"Great choice! The **Bar Model** is a useful visual tool for proportional reasoning.
|
| 20 |
|
| 21 |
+
🔹 **Before I provide guidance, please apply the Bar Model and explain your solution.**
|
| 22 |
+
- How would you set up your bar model?
|
| 23 |
+
- How would you divide it to represent 60% and 40%?
|
| 24 |
+
- How would you use this to determine the total investment?
|
| 25 |
|
| 26 |
✏️ **Type your explanation, and I will provide feedback before moving forward.**
|
| 27 |
"""
|
|
|
|
| 31 |
|
| 32 |
🔹 **Key questions to check your model:**
|
| 33 |
- Did you represent the total investment as a full bar?
|
| 34 |
+
- Did you divide the bar into equal sections?
|
| 35 |
+
- Did you shade 60% for Orrin’s investment?
|
| 36 |
|
| 37 |
✏️ **Would you like to adjust anything before I provide hints?**
|
| 38 |
"""
|
| 39 |
|
| 40 |
BAR_MODEL_HINT_PROMPT = """
|
| 41 |
🔹 **Hint:**
|
| 42 |
+
If 60% represents $1,500, how can you find the value of 10%?
|
| 43 |
+
✏️ **Try dividing $1,500 by 6 and let me know what you get.**
|
| 44 |
"""
|
| 45 |
|
| 46 |
BAR_MODEL_SOLUTION_PROMPT = """
|
| 47 |
+
✅ **Let’s summarize the correct Bar Model approach:**
|
| 48 |
|
| 49 |
+
1️⃣ Draw a full bar representing 100% of the investment.
|
| 50 |
+
2️⃣ Since Orrin’s $1,500 is 60%, divide the bar into 10 equal parts.
|
| 51 |
+
3️⃣ 6 parts represent $1,500, so each part (10%) is **$1,500 ÷ 6 = $250**.
|
| 52 |
+
4️⃣ **Total investment =** $250 × 10 = **$2,500**.
|
|
|
|
| 53 |
|
| 54 |
+
💡 **Would you like to reflect on this or try another method?**
|
| 55 |
(Type ‘Double Number Line’ or ‘Equation’ to proceed.)
|
| 56 |
"""
|
| 57 |
|
| 58 |
DOUBLE_NUMBER_LINE_PROMPT = """
|
| 59 |
### **🚀 Double Number Line Approach**
|
| 60 |
+
"Great choice! The **Double Number Line** helps visualize proportional relationships step by step.
|
| 61 |
|
| 62 |
+
🔹 **Before I provide guidance, please apply the Double Number Line and explain your solution.**
|
| 63 |
+
- How would you set up your number line?
|
| 64 |
+
- What values would you place for percentages and dollar amounts?
|
| 65 |
+
- How would you use the 60% value to determine the total?
|
| 66 |
|
| 67 |
✏️ **Type your explanation, and I will provide feedback before moving forward.**
|
| 68 |
"""
|
|
|
|
| 79 |
"""
|
| 80 |
|
| 81 |
DOUBLE_NUMBER_LINE_HINT_PROMPT = """
|
| 82 |
+
🔹 **Hint:** If 60% corresponds to $1,500, what does 10% equal?
|
| 83 |
+
✏️ **Try dividing $1,500 by 6 and let me know what you get.**
|
| 84 |
"""
|
| 85 |
|
| 86 |
DOUBLE_NUMBER_LINE_SOLUTION_PROMPT = """
|
| 87 |
+
✅ **Let’s summarize the correct Double Number Line approach:**
|
| 88 |
|
| 89 |
1️⃣ One number line represents percentages (0% to 100%).
|
| 90 |
2️⃣ The second number line represents dollar values.
|
| 91 |
3️⃣ 60% corresponds to $1,500.
|
| 92 |
4️⃣ **10% =** $1,500 ÷ 6 = $250.
|
| 93 |
+
5️⃣ **100% =** $250 × 10 = **$2,500**.
|
| 94 |
|
| 95 |
+
💡 **Would you like to reflect on this or try another method?**
|
| 96 |
(Type ‘Bar Model’ or ‘Equation’ to proceed.)
|
| 97 |
"""
|
| 98 |
|
|
|
|
| 100 |
### **🚀 Equation-Based Approach**
|
| 101 |
"Great choice! The **Equation Method** provides a direct algebraic approach.
|
| 102 |
|
| 103 |
+
🔹 **Before I provide guidance, please apply the Equation Method and explain your solution.**
|
| 104 |
+
- How can you express 60% as a fraction or decimal?
|
| 105 |
- What variable would represent the total investment?
|
| 106 |
- What equation would you set up to solve for the total?
|
| 107 |
|
|
|
|
| 111 |
EQUATION_FEEDBACK_PROMPT = """
|
| 112 |
✅ **Thanks for explaining! Let's check your equation:**
|
| 113 |
|
| 114 |
+
🔹 **Key questions to check your setup:**
|
| 115 |
+
- Did you write the proportion using 60% and $1,500?
|
| 116 |
- Did you define a variable for the total investment?
|
| 117 |
|
| 118 |
✏️ **Would you like to adjust anything before I provide hints?**
|
| 119 |
"""
|
| 120 |
|
| 121 |
EQUATION_HINT_PROMPT = """
|
| 122 |
+
🔹 **Hint:** Try setting up the equation:
|
| 123 |
\[
|
| 124 |
\frac{60}{100} = \frac{1500}{x}
|
| 125 |
+
\]
|
| 126 |
✏️ **Can you solve for x?**
|
| 127 |
"""
|
| 128 |
|
| 129 |
EQUATION_SOLUTION_PROMPT = """
|
| 130 |
+
✅ **Let’s summarize the correct Equation approach:**
|
| 131 |
|
| 132 |
\[
|
| 133 |
\frac{60}{100} = \frac{1500}{x}
|
|
|
|
| 143 |
x = \frac{1500 \times 100}{60} = 2500
|
| 144 |
\]
|
| 145 |
|
| 146 |
+
💡 **Would you like to reflect on this or try another method?**
|
| 147 |
(Type ‘Bar Model’ or ‘Double Number Line’ to proceed.)
|
| 148 |
"""
|
| 149 |
|