Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -414,9 +414,11 @@ def check_and_resolve_discrepancy(initial_response, sympy_output):
|
|
414 |
"""
|
415 |
try:
|
416 |
# Create prompt showing both solutions and asking for resolution
|
417 |
-
resolution_prompt = f"""Here is a mathematics question with two
|
|
|
|
|
418 |
|
419 |
-
If the
|
420 |
then please say that they are consistent and briefly explain why.
|
421 |
|
422 |
If the two answers are inconsistent with each other then please:
|
|
|
414 |
"""
|
415 |
try:
|
416 |
# Create prompt showing both solutions and asking for resolution
|
417 |
+
resolution_prompt = f"""Here is a mathematics question with two answers.
|
418 |
+
The first, called Original solution, is a complete solution.
|
419 |
+
The second, called SymPy Verification, will only provide the final answer.
|
420 |
|
421 |
+
If the SymPy Verification answer is consistent with the final answer Original solution,
|
422 |
then please say that they are consistent and briefly explain why.
|
423 |
|
424 |
If the two answers are inconsistent with each other then please:
|