Spaces:
Build error
Build error
Upload utils.py
Browse files
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 |
{
|