zaradana commited on
Commit
8e7737c
·
verified ·
1 Parent(s): 951d846

Upload utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -0
utils.py CHANGED
@@ -16,6 +16,7 @@ def check_asnwer_format(final_answer, agent_memory):
16
  f"Here is the final answer: {final_answer}. "
17
  "Please check that the answer is in the requested format. "
18
  "First list reasons why yes/no, then write your final decision: PASS in caps lock if it is satisfactory, FAIL if it is not."
 
19
  )
20
  messages = [
21
  {
 
16
  f"Here is the final answer: {final_answer}. "
17
  "Please check that the answer is in the requested format. "
18
  "First list reasons why yes/no, then write your final decision: PASS in caps lock if it is satisfactory, FAIL if it is not."
19
+ "Don't be harsh: if the answer is in the correct format, it should pass. "
20
  )
21
  messages = [
22
  {