Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +22 -22
prompts/main_prompt.py
CHANGED
|
@@ -30,29 +30,29 @@ def next_step(step):
|
|
| 30 |
"""
|
| 31 |
|
| 32 |
elif step == 2:
|
| 33 |
-
return """🚀 **Step 2:
|
| 34 |
-
"Great choice! Let’s
|
| 35 |
|
| 36 |
-
💡 **
|
| 37 |
- "How would you divide the bar to represent percentages?"
|
| 38 |
-
- "
|
|
|
|
| 39 |
|
| 40 |
-
🔹 **Explain your reasoning
|
| 41 |
"""
|
| 42 |
|
| 43 |
elif step == 3:
|
| 44 |
-
return """🤔 **
|
| 45 |
-
If you're stuck, try this:
|
| 46 |
- **Step 1:** Draw a bar divided into **10 equal parts** (each representing 10%).
|
| 47 |
- **Step 2:** Since **60% = $1,500**, shade in 6 parts of the bar.
|
| 48 |
- **Step 3:** How much is **1 part** worth?
|
| 49 |
|
| 50 |
-
💡 **
|
| 51 |
"""
|
| 52 |
|
| 53 |
elif step == 4:
|
| 54 |
-
return """✅ **Solution
|
| 55 |
-
"
|
| 56 |
- Each 10% part of the bar represents **$250** because:
|
| 57 |
\\[
|
| 58 |
\\frac{1500}{6} = 250
|
|
@@ -68,18 +68,18 @@ If you're stuck, try this:
|
|
| 68 |
"""
|
| 69 |
|
| 70 |
elif step == 5:
|
| 71 |
-
return """🚀 **Step 3:
|
| 72 |
"Now, let’s try solving using a **double number line**."
|
| 73 |
|
| 74 |
-
💡 **Your turn
|
| 75 |
-
- "How would you
|
| 76 |
-
- "What values go
|
| 77 |
|
| 78 |
-
🔹 **Try
|
| 79 |
"""
|
| 80 |
|
| 81 |
elif step == 6:
|
| 82 |
-
return """🤔 **
|
| 83 |
- **Step 1:** One number line represents **percentages** (0%, 60%, 100%).
|
| 84 |
- **Step 2:** The other represents **dollars** ($0, $1,500, total investment).
|
| 85 |
- **Step 3:** Find the value of **10%** by dividing **$1,500 by 6**.
|
|
@@ -88,8 +88,8 @@ If you're stuck, try this:
|
|
| 88 |
"""
|
| 89 |
|
| 90 |
elif step == 7:
|
| 91 |
-
return """✅ **Solution
|
| 92 |
-
"Let’s confirm
|
| 93 |
- **10% = $250**
|
| 94 |
- **100% = $2,500**
|
| 95 |
|
|
@@ -99,7 +99,7 @@ If you're stuck, try this:
|
|
| 99 |
"""
|
| 100 |
|
| 101 |
elif step == 8:
|
| 102 |
-
return """🚀 **Step 4:
|
| 103 |
"Now, let’s try setting up an equation to solve this problem."
|
| 104 |
|
| 105 |
💡 **Your turn first:**
|
|
@@ -110,7 +110,7 @@ If you're stuck, try this:
|
|
| 110 |
"""
|
| 111 |
|
| 112 |
elif step == 9:
|
| 113 |
-
return """🤔 **
|
| 114 |
- Set up the proportion:
|
| 115 |
\\[
|
| 116 |
\\frac{60}{100} = \\frac{1500}{x}
|
|
@@ -121,8 +121,8 @@ If you're stuck, try this:
|
|
| 121 |
"""
|
| 122 |
|
| 123 |
elif step == 10:
|
| 124 |
-
return """✅ **Solution
|
| 125 |
-
"Let’s solve step by step
|
| 126 |
- Using cross-multiplication:
|
| 127 |
\\[
|
| 128 |
60x = 1500 \\times 100
|
|
|
|
| 30 |
"""
|
| 31 |
|
| 32 |
elif step == 2:
|
| 33 |
+
return """🚀 **Step 2: Bar Model**
|
| 34 |
+
"Great choice! Let’s start with a bar model."
|
| 35 |
|
| 36 |
+
💡 **Before I help, describe how you would approach it:**
|
| 37 |
- "How would you divide the bar to represent percentages?"
|
| 38 |
+
- "What part of the bar represents Orrin’s investment?"
|
| 39 |
+
- "How would you use this to find the total investment?"
|
| 40 |
|
| 41 |
+
🔹 **Explain your reasoning first!**
|
| 42 |
"""
|
| 43 |
|
| 44 |
elif step == 3:
|
| 45 |
+
return """🤔 **Would you like a hint?**
|
|
|
|
| 46 |
- **Step 1:** Draw a bar divided into **10 equal parts** (each representing 10%).
|
| 47 |
- **Step 2:** Since **60% = $1,500**, shade in 6 parts of the bar.
|
| 48 |
- **Step 3:** How much is **1 part** worth?
|
| 49 |
|
| 50 |
+
💡 **Let me know your thinking before I continue!**
|
| 51 |
"""
|
| 52 |
|
| 53 |
elif step == 4:
|
| 54 |
+
return """✅ **Solution Using Bar Model**
|
| 55 |
+
"Let’s confirm the answer together!"
|
| 56 |
- Each 10% part of the bar represents **$250** because:
|
| 57 |
\\[
|
| 58 |
\\frac{1500}{6} = 250
|
|
|
|
| 68 |
"""
|
| 69 |
|
| 70 |
elif step == 5:
|
| 71 |
+
return """🚀 **Step 3: Double Number Line**
|
| 72 |
"Now, let’s try solving using a **double number line**."
|
| 73 |
|
| 74 |
+
💡 **Your turn first:**
|
| 75 |
+
- "How would you set up the number lines?"
|
| 76 |
+
- "What values should go at 0%, 60%, and 100%?"
|
| 77 |
|
| 78 |
+
🔹 **Try it first before I provide hints!**
|
| 79 |
"""
|
| 80 |
|
| 81 |
elif step == 6:
|
| 82 |
+
return """🤔 **Need a hint?**
|
| 83 |
- **Step 1:** One number line represents **percentages** (0%, 60%, 100%).
|
| 84 |
- **Step 2:** The other represents **dollars** ($0, $1,500, total investment).
|
| 85 |
- **Step 3:** Find the value of **10%** by dividing **$1,500 by 6**.
|
|
|
|
| 88 |
"""
|
| 89 |
|
| 90 |
elif step == 7:
|
| 91 |
+
return """✅ **Solution Using Double Number Line**
|
| 92 |
+
"Let’s confirm your answer step by step!"
|
| 93 |
- **10% = $250**
|
| 94 |
- **100% = $2,500**
|
| 95 |
|
|
|
|
| 99 |
"""
|
| 100 |
|
| 101 |
elif step == 8:
|
| 102 |
+
return """🚀 **Step 4: Equation Method**
|
| 103 |
"Now, let’s try setting up an equation to solve this problem."
|
| 104 |
|
| 105 |
💡 **Your turn first:**
|
|
|
|
| 110 |
"""
|
| 111 |
|
| 112 |
elif step == 9:
|
| 113 |
+
return """🤔 **Would you like a hint?**
|
| 114 |
- Set up the proportion:
|
| 115 |
\\[
|
| 116 |
\\frac{60}{100} = \\frac{1500}{x}
|
|
|
|
| 121 |
"""
|
| 122 |
|
| 123 |
elif step == 10:
|
| 124 |
+
return """✅ **Solution Using an Equation**
|
| 125 |
+
"Let’s solve step by step!"
|
| 126 |
- Using cross-multiplication:
|
| 127 |
\\[
|
| 128 |
60x = 1500 \\times 100
|