Spaces:
Sleeping
Sleeping
improve custom prompt
Browse files
app.py
CHANGED
|
@@ -28,12 +28,14 @@ CUSTOM_PROMPT = """
|
|
| 28 |
Do not include any explanations, reasoning, or prefixes like "FINAL ANSWER:".
|
| 29 |
|
| 30 |
The answer should be a number OR as few words as possible OR a comma separated list.
|
| 31 |
-
- If the answer is a number, do not use commas for thousands separators
|
|
|
|
| 32 |
- If the answer is a string, do not use articles (a, an, the) or abbreviations.
|
| 33 |
- If the answer is a list, apply these rules to each element
|
| 34 |
-
and separete them with a comma like "a, b, c".
|
| 35 |
|
| 36 |
Attached files can be downloaded via the Internet.
|
|
|
|
| 37 |
"""
|
| 38 |
|
| 39 |
rate_limiter = RateLimiter()
|
|
|
|
| 28 |
Do not include any explanations, reasoning, or prefixes like "FINAL ANSWER:".
|
| 29 |
|
| 30 |
The answer should be a number OR as few words as possible OR a comma separated list.
|
| 31 |
+
- If the answer is a number, do not use commas for thousands separators
|
| 32 |
+
(e.g., write 1000 not 1,000) and do not include units like '$' or '%' unless specified.
|
| 33 |
- If the answer is a string, do not use articles (a, an, the) or abbreviations.
|
| 34 |
- If the answer is a list, apply these rules to each element
|
| 35 |
+
and separete them with a comma and a whitespace like "a, b, c" not "a,b,c".
|
| 36 |
|
| 37 |
Attached files can be downloaded via the Internet.
|
| 38 |
+
When downloading files, try to download them in python code before visiting the website.
|
| 39 |
"""
|
| 40 |
|
| 41 |
rate_limiter = RateLimiter()
|