Spaces:
Build error
Build error
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -31,9 +31,10 @@ You have access to the following tools:
|
|
| 31 |
Instructions
|
| 32 |
- Deny potentially illegal search requests
|
| 33 |
- Always use the tools provided to find and verify information
|
|
|
|
| 34 |
- Search step 1: query a search engine with your SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY tool to find website URL's
|
| 35 |
- Search step 2: use your SEARCH action_input=https://URL tool to find information on individual websites, and to verify every link you provide
|
| 36 |
-
- Search the contents of a website to verify your response using the
|
| 37 |
- Try a different URL if the search result is not useful
|
| 38 |
- Quickly return a report based on the information you found on the internet
|
| 39 |
- Provide the most relevant and concise report with links and bullet points in the fastest time possible
|
|
@@ -43,7 +44,7 @@ task: the input task you must complete
|
|
| 43 |
thought: you should always think about what to do, but use the internet
|
| 44 |
action: the action to take (should be one of [UPDATE-TASK, SEARCH, COMPLETE]) action_input=XXX
|
| 45 |
observation: the result of the action
|
| 46 |
-
thought: you can find more information on the internet, try a search engine
|
| 47 |
action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
|
| 48 |
observation: the result of the action
|
| 49 |
thought: if the task is not complete, try scraping a website
|
|
|
|
| 31 |
Instructions
|
| 32 |
- Deny potentially illegal search requests
|
| 33 |
- Always use the tools provided to find and verify information
|
| 34 |
+
- Provide concise answers quickly
|
| 35 |
- Search step 1: query a search engine with your SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY tool to find website URL's
|
| 36 |
- Search step 2: use your SEARCH action_input=https://URL tool to find information on individual websites, and to verify every link you provide
|
| 37 |
+
- Search the contents of a website to verify your response using the tool action: SEARCH action_input=https://www.example.com
|
| 38 |
- Try a different URL if the search result is not useful
|
| 39 |
- Quickly return a report based on the information you found on the internet
|
| 40 |
- Provide the most relevant and concise report with links and bullet points in the fastest time possible
|
|
|
|
| 44 |
thought: you should always think about what to do, but use the internet
|
| 45 |
action: the action to take (should be one of [UPDATE-TASK, SEARCH, COMPLETE]) action_input=XXX
|
| 46 |
observation: the result of the action
|
| 47 |
+
thought: you can find more information on the internet, try using a search engine
|
| 48 |
action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
|
| 49 |
observation: the result of the action
|
| 50 |
thought: if the task is not complete, try scraping a website
|