Spaces:
Runtime error
Runtime error
fix prompt error
Browse files
app.py
CHANGED
|
@@ -171,7 +171,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 171 |
Observation: [result_from_the_tool]
|
| 172 |
|
| 173 |
NOTE: If the input contains the exact phrase "Attachment '{{file_name}}' available at: {{attachment_url}}" (where '{{file_name}}' and '{{attachment_url}}' are placeholders for actual values), then you may use the 'text_downloader_limited_tool' tool if needed. Otherwise, you should use the 'tavily_search' tool.
|
| 174 |
-
based on the input
|
| 175 |
DO NOT use text_downloader_limited_tool for audio,video or image files
|
| 176 |
for example: if task_id,cca530fc-7888-43b2-b130-b30968d8aa44, attachment URL will be https://agents-course-unit4-scoring.hf.space/files/cca530fc-7888-43b2-b130-b30968d8aa44
|
| 177 |
|
|
|
|
| 171 |
Observation: [result_from_the_tool]
|
| 172 |
|
| 173 |
NOTE: If the input contains the exact phrase "Attachment '{{file_name}}' available at: {{attachment_url}}" (where '{{file_name}}' and '{{attachment_url}}' are placeholders for actual values), then you may use the 'text_downloader_limited_tool' tool if needed. Otherwise, you should use the 'tavily_search' tool.
|
| 174 |
+
based on the {{input}} , if the file type is text, you MUST use text_downloader_limited_tool
|
| 175 |
DO NOT use text_downloader_limited_tool for audio,video or image files
|
| 176 |
for example: if task_id,cca530fc-7888-43b2-b130-b30968d8aa44, attachment URL will be https://agents-course-unit4-scoring.hf.space/files/cca530fc-7888-43b2-b130-b30968d8aa44
|
| 177 |
|