joshuarauh commited on
Commit
b534e76
·
verified ·
1 Parent(s): bbf54a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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 solutions.
 
 
418
 
419
- If the two answers are consistent with each other
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: