Update app.py
Browse files
app.py
CHANGED
@@ -639,8 +639,7 @@ Answer with just "YES" only if your general knowledge is insufficient to answer
|
|
639 |
Your ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
640 |
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.
|
641 |
If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwuse.
|
642 |
-
Do not include your motivation or explanation.
|
643 |
-
Do not include your motivation or explanation.
|
644 |
{full_context} """
|
645 |
|
646 |
return self._chat_completion(answer_prompt, max_tokens=800, temperature=0.3)
|
@@ -665,6 +664,7 @@ Answer with just "YES" only if your general knowledge is insufficient to answer
|
|
665 |
Your ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
666 |
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.
|
667 |
If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise.
|
|
|
668 |
{full_context} """
|
669 |
|
670 |
return self._chat_completion(answer_prompt, max_tokens=800, temperature=0.3)
|
|
|
639 |
Your ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
640 |
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.
|
641 |
If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwuse.
|
642 |
+
Do not include your motivation, reasoning or explanation. Provide only the answer
|
|
|
643 |
{full_context} """
|
644 |
|
645 |
return self._chat_completion(answer_prompt, max_tokens=800, temperature=0.3)
|
|
|
664 |
Your ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
665 |
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.
|
666 |
If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise.
|
667 |
+
Do not include your motivation, reasoning or explanation. Provide only the answer.
|
668 |
{full_context} """
|
669 |
|
670 |
return self._chat_completion(answer_prompt, max_tokens=800, temperature=0.3)
|