Spaces:
Sleeping
Sleeping
Update prompts/main_prompt.py
Browse files- prompts/main_prompt.py +30 -17
prompts/main_prompt.py
CHANGED
|
@@ -1,32 +1,39 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
| 8 |
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
✅ **Bar models**
|
| 11 |
✅ **Double number lines**
|
| 12 |
✅ **Ratio tables**
|
| 13 |
✅ **Graphs**
|
| 14 |
|
| 15 |
-
|
| 16 |
-
💬 I
|
| 17 |
-
|
| 18 |
-
Let's start with the **bar model**!
|
| 19 |
"""
|
| 20 |
|
|
|
|
| 21 |
BAR_MODEL_PROMPT = """
|
| 22 |
📊 **Step 1: Bar Model Representation**
|
| 23 |
|
| 24 |
Imagine a **bar** representing 90 miles—the distance Jessica travels in **2 hours**.
|
| 25 |
🧩 How might you divide this bar to explore the distances for **1 hour, ½ hour, and 3 hours**?
|
| 26 |
|
| 27 |
-
💭 *
|
| 28 |
|
| 29 |
-
|
| 30 |
1️⃣ *Think of the entire bar as representing **90 miles in 2 hours**. How would you divide it into two equal parts to find 1 hour?*
|
| 31 |
2️⃣ *Now, extend or divide it further—what happens for **½ hour and 3 hours**?*
|
| 32 |
|
|
@@ -34,6 +41,7 @@ Imagine a **bar** representing 90 miles—the distance Jessica travels in **2 ho
|
|
| 34 |
❌ If incorrect: *Try dividing the bar into two equal sections. What does each section represent?*
|
| 35 |
"""
|
| 36 |
|
|
|
|
| 37 |
DOUBLE_NUMBER_LINE_PROMPT = """
|
| 38 |
📏 **Step 2: Double Number Line Representation**
|
| 39 |
|
|
@@ -46,7 +54,7 @@ Start by marking:
|
|
| 46 |
|
| 47 |
What comes next?
|
| 48 |
|
| 49 |
-
|
| 50 |
1️⃣ Try labeling the time line **(0, 1, 2, 3)**. How does that help with placing distances below?
|
| 51 |
2️⃣ Since **2 hours = 90 miles**, what does that tell you about **1 hour and ½ hour**?
|
| 52 |
|
|
@@ -54,6 +62,7 @@ What comes next?
|
|
| 54 |
❌ If incorrect: *Check your spacing—does your number line keep a constant rate?*
|
| 55 |
"""
|
| 56 |
|
|
|
|
| 57 |
RATIO_TABLE_PROMPT = """
|
| 58 |
📋 **Step 3: Ratio Table Representation**
|
| 59 |
|
|
@@ -65,7 +74,7 @@ Next, let’s create a **ratio table**!
|
|
| 65 |
You already know **2 hours = 90 miles**.
|
| 66 |
🤔 How would you complete the table for **½ hour, 1 hour, and 3 hours**?
|
| 67 |
|
| 68 |
-
|
| 69 |
1️⃣ Since **2 hours = 90 miles**, how can you divide this to find **1 hour**?
|
| 70 |
2️⃣ Once you know **1 hour = 45 miles**, can you calculate for **½ hour and 3 hours**?
|
| 71 |
|
|
@@ -73,6 +82,7 @@ You already know **2 hours = 90 miles**.
|
|
| 73 |
❌ If incorrect: *Something’s a little off. Try using unit rate: 90 ÷ 2 = ?*
|
| 74 |
"""
|
| 75 |
|
|
|
|
| 76 |
GRAPH_PROMPT = """
|
| 77 |
📉 **Step 4: Graph Representation**
|
| 78 |
|
|
@@ -86,7 +96,7 @@ You already know two key points:
|
|
| 86 |
|
| 87 |
🤔 What other points will you add?
|
| 88 |
|
| 89 |
-
|
| 90 |
1️⃣ Start by marking **(0,0) and (2,90)**.
|
| 91 |
2️⃣ How can you use these to find **(1,45), (½,22.5), and (3,135)?**
|
| 92 |
|
|
@@ -94,6 +104,7 @@ You already know two key points:
|
|
| 94 |
❌ If incorrect: *Does your line pass through (0,0)? Why is that important?*
|
| 95 |
"""
|
| 96 |
|
|
|
|
| 97 |
REFLECTION_PROMPT = """
|
| 98 |
🔄 **Reflection Time!**
|
| 99 |
|
|
@@ -105,6 +116,7 @@ Now that you've explored **multiple representations**, think about these questio
|
|
| 105 |
Take a moment to reflect! 😊
|
| 106 |
"""
|
| 107 |
|
|
|
|
| 108 |
SUMMARY_PROMPT = """
|
| 109 |
🎯 **Summary of Module 2**
|
| 110 |
|
|
@@ -113,7 +125,7 @@ SUMMARY_PROMPT = """
|
|
| 113 |
✅ Explored how different models highlight proportional relationships
|
| 114 |
✅ Reflected on teaching strategies aligned with **Common Core practices**
|
| 115 |
|
| 116 |
-
|
| 117 |
Example: A **runner covers a certain distance in a given time**.
|
| 118 |
|
| 119 |
💡 Make sure your problem can be solved using:
|
|
@@ -125,6 +137,7 @@ Example: A **runner covers a certain distance in a given time**.
|
|
| 125 |
📢 *The AI will evaluate your problem and provide feedback!*
|
| 126 |
"""
|
| 127 |
|
|
|
|
| 128 |
FINAL_REFLECTION_PROMPT = """
|
| 129 |
🚀 **Final Reflection**
|
| 130 |
|
|
@@ -132,4 +145,4 @@ FINAL_REFLECTION_PROMPT = """
|
|
| 132 |
- How would you guide students to explain their **reasoning**, even if they get the correct answer?
|
| 133 |
|
| 134 |
📌 Share your thoughts!
|
| 135 |
-
"""
|
|
|
|
| 1 |
+
# prompts/main_prompt.py
|
| 2 |
|
| 3 |
+
__all__ = ["TASK_PROMPT", "BAR_MODEL_PROMPT", "DOUBLE_NUMBER_LINE_PROMPT",
|
| 4 |
+
"RATIO_TABLE_PROMPT", "GRAPH_PROMPT", "REFLECTION_PROMPT",
|
| 5 |
+
"SUMMARY_PROMPT", "FINAL_REFLECTION_PROMPT"]
|
| 6 |
|
| 7 |
+
# 🟢 STARTING WITH TASK
|
| 8 |
+
TASK_PROMPT = """
|
| 9 |
+
🚀 **Welcome to Module 2: Solving a Ratio Problem Using Multiple Representations!**
|
| 10 |
|
| 11 |
+
### **Task:**
|
| 12 |
+
Jessica drives **90 miles in 2 hours**. If she drives at the same rate, **how far does she travel in:**
|
| 13 |
+
- **1 hour?**
|
| 14 |
+
- **½ hour?**
|
| 15 |
+
- **3 hours?**
|
| 16 |
+
|
| 17 |
+
To solve this, try using different representations:
|
| 18 |
✅ **Bar models**
|
| 19 |
✅ **Double number lines**
|
| 20 |
✅ **Ratio tables**
|
| 21 |
✅ **Graphs**
|
| 22 |
|
| 23 |
+
💡 **Goal:** Don't just find the answer—**explain why**!
|
| 24 |
+
💬 I'll guide you step by step—let’s start with the **bar model!**
|
|
|
|
|
|
|
| 25 |
"""
|
| 26 |
|
| 27 |
+
# 📊 Bar Model Prompt
|
| 28 |
BAR_MODEL_PROMPT = """
|
| 29 |
📊 **Step 1: Bar Model Representation**
|
| 30 |
|
| 31 |
Imagine a **bar** representing 90 miles—the distance Jessica travels in **2 hours**.
|
| 32 |
🧩 How might you divide this bar to explore the distances for **1 hour, ½ hour, and 3 hours**?
|
| 33 |
|
| 34 |
+
💭 *Explain how each section of your bar relates to these time intervals!*
|
| 35 |
|
| 36 |
+
🔹 **Hints if needed:**
|
| 37 |
1️⃣ *Think of the entire bar as representing **90 miles in 2 hours**. How would you divide it into two equal parts to find 1 hour?*
|
| 38 |
2️⃣ *Now, extend or divide it further—what happens for **½ hour and 3 hours**?*
|
| 39 |
|
|
|
|
| 41 |
❌ If incorrect: *Try dividing the bar into two equal sections. What does each section represent?*
|
| 42 |
"""
|
| 43 |
|
| 44 |
+
# 📏 Double Number Line Prompt
|
| 45 |
DOUBLE_NUMBER_LINE_PROMPT = """
|
| 46 |
📏 **Step 2: Double Number Line Representation**
|
| 47 |
|
|
|
|
| 54 |
|
| 55 |
What comes next?
|
| 56 |
|
| 57 |
+
🔹 **Hints if needed:**
|
| 58 |
1️⃣ Try labeling the time line **(0, 1, 2, 3)**. How does that help with placing distances below?
|
| 59 |
2️⃣ Since **2 hours = 90 miles**, what does that tell you about **1 hour and ½ hour**?
|
| 60 |
|
|
|
|
| 62 |
❌ If incorrect: *Check your spacing—does your number line keep a constant rate?*
|
| 63 |
"""
|
| 64 |
|
| 65 |
+
# 📋 Ratio Table Prompt
|
| 66 |
RATIO_TABLE_PROMPT = """
|
| 67 |
📋 **Step 3: Ratio Table Representation**
|
| 68 |
|
|
|
|
| 74 |
You already know **2 hours = 90 miles**.
|
| 75 |
🤔 How would you complete the table for **½ hour, 1 hour, and 3 hours**?
|
| 76 |
|
| 77 |
+
🔹 **Hints if needed:**
|
| 78 |
1️⃣ Since **2 hours = 90 miles**, how can you divide this to find **1 hour**?
|
| 79 |
2️⃣ Once you know **1 hour = 45 miles**, can you calculate for **½ hour and 3 hours**?
|
| 80 |
|
|
|
|
| 82 |
❌ If incorrect: *Something’s a little off. Try using unit rate: 90 ÷ 2 = ?*
|
| 83 |
"""
|
| 84 |
|
| 85 |
+
# 📉 Graph Prompt
|
| 86 |
GRAPH_PROMPT = """
|
| 87 |
📉 **Step 4: Graph Representation**
|
| 88 |
|
|
|
|
| 96 |
|
| 97 |
🤔 What other points will you add?
|
| 98 |
|
| 99 |
+
🔹 **Hints if needed:**
|
| 100 |
1️⃣ Start by marking **(0,0) and (2,90)**.
|
| 101 |
2️⃣ How can you use these to find **(1,45), (½,22.5), and (3,135)?**
|
| 102 |
|
|
|
|
| 104 |
❌ If incorrect: *Does your line pass through (0,0)? Why is that important?*
|
| 105 |
"""
|
| 106 |
|
| 107 |
+
# 🔄 Reflection Prompt
|
| 108 |
REFLECTION_PROMPT = """
|
| 109 |
🔄 **Reflection Time!**
|
| 110 |
|
|
|
|
| 116 |
Take a moment to reflect! 😊
|
| 117 |
"""
|
| 118 |
|
| 119 |
+
# 🎯 Summary Prompt
|
| 120 |
SUMMARY_PROMPT = """
|
| 121 |
🎯 **Summary of Module 2**
|
| 122 |
|
|
|
|
| 125 |
✅ Explored how different models highlight proportional relationships
|
| 126 |
✅ Reflected on teaching strategies aligned with **Common Core practices**
|
| 127 |
|
| 128 |
+
📝 **Final Task:** Try creating a **similar proportional reasoning problem**!
|
| 129 |
Example: A **runner covers a certain distance in a given time**.
|
| 130 |
|
| 131 |
💡 Make sure your problem can be solved using:
|
|
|
|
| 137 |
📢 *The AI will evaluate your problem and provide feedback!*
|
| 138 |
"""
|
| 139 |
|
| 140 |
+
# 🚀 Final Reflection Prompt
|
| 141 |
FINAL_REFLECTION_PROMPT = """
|
| 142 |
🚀 **Final Reflection**
|
| 143 |
|
|
|
|
| 145 |
- How would you guide students to explain their **reasoning**, even if they get the correct answer?
|
| 146 |
|
| 147 |
📌 Share your thoughts!
|
| 148 |
+
"""
|