alibicer's picture
Update prompts/main_prompt.py
8ff790f verified
raw
history blame
5.41 kB
MAIN_PROMPT = """
### **Module 4: Proportional Thinking with Percentages**
"Welcome to this module on proportional reasoning with percentages!
Today, we will explore solving problems with percentages using different representations:
1️⃣ **Bar Model**
2️⃣ **Double Number Line**
3️⃣ **Equation-Based Approach**
Your goal is to **apply these methods, explain your thinking, and reflect on their usefulness.**
💡 **I will guide you step by step.**
💡 **You will first explain your own reasoning before receiving hints or feedback.**
💡 **If you need help, I will provide step-by-step support.**
🚀 **Let’s begin! Which method would you like to use first?**
(Type 'Bar Model,' 'Double Number Line,' or 'Equation')
"""
BAR_MODEL_PROMPT = """
### **🚀 Bar Model Approach**
"Great choice! Let's solve this problem using a **bar model**.
🔹 **How would you set up a bar model to represent this problem?**
💡 **Try explaining your approach before I provide any hints.**
- What does the full bar represent?
- How would you divide the bar to show 60%?
- How can you use this to find the total investment?
✏️ **Type your explanation before I provide feedback!**
"""
BAR_MODEL_FEEDBACK_PROMPT = """
✅ **Great! You set up the bar model as follows:**
- You represented the total investment as a bar.
- You divided the bar into equal parts to show 60% as Orrin's share.
- Now, let’s check the calculations!
🔹 **What value does 10% of the total represent?**
✏️ **Try calculating and explaining before I give hints!**
"""
BAR_MODEL_HINT_PROMPT = """
🔹 **Hint:** Since Orrin's $1,500 represents 60%, divide it by 6 to find 10% of the total investment.
✏️ **What do you get?**
"""
BAR_MODEL_SOLUTION_PROMPT = """
✅ **Here’s how we solve it using a bar model:**
- The total investment is represented as a full bar (100%).
- Since Orrin’s $1,500 represents 60%, we divide the bar into 10 equal parts.
- 60% means 6 parts represent $1,500.
- **Value of 10% =** $1,500 ÷ 6 = $250.
- **Total investment =** $250 × 10 = **$2,500.**
💡 **Would you like to reflect on why the bar model was useful, or try another method?**
(Type ‘Double Number Line’ or ‘Equation’ to proceed.)
"""
DOUBLE_NUMBER_LINE_PROMPT = """
### **🚀 Double Number Line Approach**
"Great choice! Let's solve this problem using a **double number line**.
🔹 **How would you set up the number line to represent this problem?**
💡 **Try explaining your approach before I provide any hints.**
- What would the two number lines represent?
- What key values should be placed on the number line?
- How can you use the 60% value to determine the total?
✏️ **Type your explanation before I provide feedback!**
"""
DOUBLE_NUMBER_LINE_FEEDBACK_PROMPT = """
✅ **Great! You set up the double number line as follows:**
- One number line represents percentages (0% to 100%).
- The second number line represents dollar values.
- You placed 60% at $1,500.
🔹 **What value does 10% represent on the number line?**
✏️ **Try calculating before I give hints!**
"""
DOUBLE_NUMBER_LINE_HINT_PROMPT = """
🔹 **Hint:** Divide $1,500 by 6 to find 10%.
✏️ **What do you get?**
"""
DOUBLE_NUMBER_LINE_SOLUTION_PROMPT = """
✅ **Here’s how we solve it using a double number line:**
- One number line represents percentages (0% to 100%).
- The second number line represents dollar values.
- 60% corresponds to $1,500.
- **10% =** $1,500 ÷ 6 = $250.
- **100% =** $250 × 10 = **$2,500.**
💡 **Would you like to reflect on why the double number line was useful, or try another method?**
(Type ‘Bar Model’ or ‘Equation’ to proceed.)
"""
EQUATION_PROMPT = """
### **🚀 Equation-Based Approach**
"Great choice! Let's solve this problem using an **equation**.
🔹 **How would you write an equation to represent this problem?**
💡 **Try explaining your approach before I provide any hints.**
- How can you express 60% in fraction or decimal form?
- What variable would represent the total investment?
- What equation would you set up to solve for the total?
✏️ **Type your explanation before I provide feedback!**
"""
EQUATION_FEEDBACK_PROMPT = """
✅ **Great! You wrote the equation as follows:**
- You set up the proportional relationship between 60% and $1,500.
- You identified the total investment as **x**.
🔹 **What happens when you solve for x?**
✏️ **Try solving before I provide hints!**
"""
EQUATION_HINT_PROMPT = """
🔹 **Hint:** Set up the equation:
\[
\frac{60}{100} = \frac{1500}{x}
\]
✏️ **Can you solve for x?**
"""
EQUATION_SOLUTION_PROMPT = """
✅ **Here’s how we solve it using an equation:**
\[
\frac{60}{100} = \frac{1500}{x}
\]
- Cross multiply:
\[
60x = 1500 \times 100
\]
- Solve for **x**:
\[
x = \frac{1500 \times 100}{60} = 2500
\]
💡 **Would you like to reflect on why the equation method was useful, or try another method?**
(Type ‘Bar Model’ or ‘Double Number Line’ to proceed.)
"""
REFLECTION_PROMPT = """
"Great job! Now, let's reflect on the strategies we used.
- Which method did you find most helpful, and why?
- How does this connect to real-world proportional reasoning?
- How would you explain this to a student?
✏️ **Share your thoughts before we conclude!**
"""