Spaces:
Paused
Paused
Update util.py
Browse files
util.py
CHANGED
|
@@ -18,7 +18,7 @@ def get_final_answer(question, initial_answer):
|
|
| 18 |
You are given a question and an initial answer.
|
| 19 |
Your final answer must be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
| 20 |
If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise.
|
| 21 |
-
If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), start with an uppercase letter, and write the digits in plain text unless specified otherwise.
|
| 22 |
If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
| 23 |
**Question:** """ + question + """
|
| 24 |
**Initial answer:** """ + initial_answer + """
|
|
|
|
| 18 |
You are given a question and an initial answer.
|
| 19 |
Your final answer must be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
| 20 |
If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise.
|
| 21 |
+
If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), start a single word with an uppercase letter, and write the digits in plain text unless specified otherwise.
|
| 22 |
If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
| 23 |
**Question:** """ + question + """
|
| 24 |
**Initial answer:** """ + initial_answer + """
|