Spaces:
Sleeping
Sleeping
Update app.py
Browse filesAdded more clarifications for the final_answer!
app.py
CHANGED
|
@@ -271,7 +271,8 @@ wikipedia_summary = # generate this from the respective results
|
|
| 271 |
final_answer(web_results_summary + wikipedia_summary)
|
| 272 |
```
|
| 273 |
|
| 274 |
-
|
|
|
|
| 275 |
|
| 276 |
Now Begin!
|
| 277 |
|
|
@@ -279,7 +280,7 @@ Now Begin!
|
|
| 279 |
{{custom_instructions}}
|
| 280 |
{%- endif %}
|
| 281 |
|
| 282 |
-
Now Begin!
|
| 283 |
'''
|
| 284 |
|
| 285 |
agent = CodeAgent(
|
|
|
|
| 271 |
final_answer(web_results_summary + wikipedia_summary)
|
| 272 |
```
|
| 273 |
|
| 274 |
+
Always summarize and explain the information you plan to use for the final answer (the call to final_answer will be a stand alone prompt).
|
| 275 |
+
Again one step at a time AND ONLY USE VARIABLES YOU HAVE ALREADY DEFINED.
|
| 276 |
|
| 277 |
Now Begin!
|
| 278 |
|
|
|
|
| 280 |
{{custom_instructions}}
|
| 281 |
{%- endif %}
|
| 282 |
|
| 283 |
+
You got this! Now Begin!
|
| 284 |
'''
|
| 285 |
|
| 286 |
agent = CodeAgent(
|