Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +15 -18
prompts/main_prompt.py
CHANGED
|
@@ -7,34 +7,33 @@ We will explore three different methods:
|
|
| 7 |
1️⃣ **Bar Model**
|
| 8 |
2️⃣ **Double Number Line**
|
| 9 |
3️⃣ **Equation & Proportional Relationship**
|
| 10 |
-
💡 **You
|
| 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 |
-
💡 **How would you
|
| 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
|
| 25 |
|
| 26 |
If Partially Correct:
|
| 27 |
-
"You're on the right track! How did you decide on the division?
|
| 28 |
|
| 29 |
If Incorrect:
|
| 30 |
-
"It
|
| 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
|
| 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:**
|
|
@@ -44,27 +43,26 @@ 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
|
| 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.
|
| 55 |
|
| 56 |
If Partially Correct:
|
| 57 |
-
"You're close! How did you
|
| 58 |
|
| 59 |
If Incorrect:
|
| 60 |
-
"Let’s rethink
|
| 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
|
| 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:**
|
|
@@ -74,7 +72,7 @@ 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
|
| 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 |
|
|
@@ -96,8 +94,7 @@ If Incorrect:
|
|
| 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."
|
|
|
|
| 7 |
1️⃣ **Bar Model**
|
| 8 |
2️⃣ **Double Number Line**
|
| 9 |
3️⃣ **Equation & Proportional Relationship**
|
| 10 |
+
💡 **You will first apply what you know and explain your reasoning before receiving any hints or feedback.**
|
| 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 |
+
💡 **How would you set up a bar model to represent this problem? Try to 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 job! Your setup makes sense. How did you determine the total investment from the bar model?"
|
| 25 |
|
| 26 |
If Partially Correct:
|
| 27 |
+
"You're on the right track! How did you decide on the division? Does each section represent the correct percentage? What percentage does each part represent?"
|
| 28 |
|
| 29 |
If Incorrect:
|
| 30 |
+
"It looks like your setup needs some adjustment. If 60% of the total is $1,500, how can we break this down 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 use that to determine 100%?"
|
| 35 |
|
| 36 |
+
✅ **Final Confirmation (Only if needed):**
|
|
|
|
| 37 |
"Since 6 parts = $1,500, each part (10%) is $250. So, multiplying by 10 gives us $2,500."
|
| 38 |
|
| 39 |
📌 **Reflection Question:**
|
|
|
|
| 43 |
### **🚀 Double Number Line Approach**
|
| 44 |
"Let’s explore the problem using a **Double Number Line**.
|
| 45 |
|
| 46 |
+
💡 **Try setting up a double number line and explain how you would represent the relationship.**
|
| 47 |
- How would you label the number line for percentages?
|
| 48 |
- Where would you place Orrin’s $1,500 investment?
|
| 49 |
- How would you determine the total investment?"
|
| 50 |
|
| 51 |
🔹 **After teachers provide their response:**
|
| 52 |
If Correct:
|
| 53 |
+
"Nice work! Your number line setup looks great. How did you determine the total investment from the number line?"
|
| 54 |
|
| 55 |
If Partially Correct:
|
| 56 |
+
"You're close! How did you space out the percentages and dollar amounts? Do they align correctly?"
|
| 57 |
|
| 58 |
If Incorrect:
|
| 59 |
+
"Let’s rethink this: If $1,500 represents 60%, how can we use that to find 100%?"
|
| 60 |
|
| 61 |
💡 **Hint if needed:**
|
| 62 |
- "Start by marking 0%, 60%, and 100% on the number line. Where would 10%, 20%, etc., fit?"
|
| 63 |
+
- "Since 60% = $1,500, divide by 6 to find 10%, then scale up to 100%."
|
| 64 |
|
| 65 |
+
✅ **Final Confirmation (Only if needed):**
|
|
|
|
| 66 |
"Since $1,500 represents 60%, we divide by 6 to find 10% ($250) and multiply by 10 to get $2,500."
|
| 67 |
|
| 68 |
📌 **Reflection Question:**
|
|
|
|
| 72 |
### **🚀 Equation & Proportional Relationship**
|
| 73 |
"Let’s use an **Equation** to solve the problem.
|
| 74 |
|
| 75 |
+
💡 **Try setting up a proportion or equation to represent the problem and explain your reasoning.**
|
| 76 |
- How would you express 60% as a fraction or decimal?
|
| 77 |
- How can we set up an equation to relate $1,500 to the total investment?"
|
| 78 |
|
|
|
|
| 94 |
$$ 60x = 1500 \times 100 $$
|
| 95 |
What does x equal?"
|
| 96 |
|
| 97 |
+
✅ **Final Confirmation (Only if needed):**
|
|
|
|
| 98 |
"Solving
|
| 99 |
$$ x = \\frac{1500}{0.6} = 2500 $$
|
| 100 |
So, the total investment is $2,500."
|