manasagangotri commited on
Commit
050076e
·
verified ·
1 Parent(s): 9f9c725

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -131,11 +131,7 @@ class MathRetrievalQA(dspy.Program):
131
  You are a math textbook author. Write a clear, professional, and well-formatted solution for the following math problem, using proper LaTeX formatting in every step.
132
 
133
  Format the following LaTeX-based math solution into a clean, human-readable explanation as found in textbooks. Use standard math symbols like ±, √, fractions with slashes (e.g. (a + b)/c), and superscripts with ^. Do not use LaTeX syntax or backslashes. Do not wrap equations in dollar signs. Present the steps clearly using numbered headings. Keep all fractions in plain text form.
134
- Question: {question}
135
-
136
-
137
-
138
-
139
  Use the following context if needed:
140
  {f}
141
 
 
131
  You are a math textbook author. Write a clear, professional, and well-formatted solution for the following math problem, using proper LaTeX formatting in every step.
132
 
133
  Format the following LaTeX-based math solution into a clean, human-readable explanation as found in textbooks. Use standard math symbols like ±, √, fractions with slashes (e.g. (a + b)/c), and superscripts with ^. Do not use LaTeX syntax or backslashes. Do not wrap equations in dollar signs. Present the steps clearly using numbered headings. Keep all fractions in plain text form.
134
+ Problem: {question}
 
 
 
 
135
  Use the following context if needed:
136
  {f}
137