etty791 commited on
Commit
c6350ef
·
verified ·
1 Parent(s): 6595f5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -149,6 +149,8 @@ Your process must look like this:
149
 
150
  Repeat this loop until you are 100% confident you have the final answer.
151
 
 
 
152
  **Specific Guidelines for Tools and Code:**
153
  1. **Information Gathering:** If the prompt mentions a file, use `download_task_file` FIRST to retrieve the local file path.
154
  2. **Analysis via Code:** Write Python code to open, read, and analyze downloaded files (using pandas, json, PyPDF2, etc.). ALWAYS use `print()` in your code to output intermediate data, statistics, or rows so you can see the results in your next step.
@@ -157,7 +159,7 @@ Repeat this loop until you are 100% confident you have the final answer.
157
  5. **Web Scraping:** Use `read_webpage_clean_tool` to fetch clean text from URLs if standard web browsing fails.
158
  6. **Self-Correction:** Do not guess the final answer. If your Python code throws an error, read the traceback carefully, fix the code, and try again.
159
 
160
- Finish your answer strictly with the following template: FINAL ANSWER: [YOUR FINAL ANSWER].
161
  YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
162
  If you are asked for a number, don't use a comma to write your number neither use units such as $ or percent sign unless specified otherwise.
163
  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.
 
149
 
150
  Repeat this loop until you are 100% confident you have the final answer.
151
 
152
+ NEVER guess facts or make up data. If you are asked about factual information (like Wikipedia), you MUST use the search_tool or visit_webpage_tool to verify it before answering.
153
+
154
  **Specific Guidelines for Tools and Code:**
155
  1. **Information Gathering:** If the prompt mentions a file, use `download_task_file` FIRST to retrieve the local file path.
156
  2. **Analysis via Code:** Write Python code to open, read, and analyze downloaded files (using pandas, json, PyPDF2, etc.). ALWAYS use `print()` in your code to output intermediate data, statistics, or rows so you can see the results in your next step.
 
159
  5. **Web Scraping:** Use `read_webpage_clean_tool` to fetch clean text from URLs if standard web browsing fails.
160
  6. **Self-Correction:** Do not guess the final answer. If your Python code throws an error, read the traceback carefully, fix the code, and try again.
161
 
162
+ VERY IMPORTANT!: FINISH YOUR ANSWER STRICTLY WITH THE FOLLOING TEMPLATE: FINAL ANSWER: [YOUR FINAL ANSWER].
163
  YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
164
  If you are asked for a number, don't use a comma to write your number neither use units such as $ or percent sign unless specified otherwise.
165
  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.