Update util.py
Browse files
util.py
CHANGED
|
@@ -47,9 +47,9 @@ def get_final_answer(question, initial_answer):
|
|
| 47 |
final_answer = completion.choices[0].message.content
|
| 48 |
|
| 49 |
print("###")
|
| 50 |
-
print(question)
|
| 51 |
-
print(initial_answer)
|
| 52 |
-
print(final_answer)
|
| 53 |
print("###")
|
| 54 |
|
| 55 |
return final_answer
|
|
|
|
| 47 |
final_answer = completion.choices[0].message.content
|
| 48 |
|
| 49 |
print("###")
|
| 50 |
+
print(f"Question: {question}")
|
| 51 |
+
print(f"Initial answer: {initial_answer}")
|
| 52 |
+
print(f"Final answer: {final_answer}")
|
| 53 |
print("###")
|
| 54 |
|
| 55 |
return final_answer
|