johann22 commited on
Commit
5f8b9c0
1 Parent(s): 4b8f5ef

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +5 -10
agent.py CHANGED
@@ -1,8 +1,7 @@
1
- PREFIX = """You are an Internet Research Assistant
2
  Use on the tools provided below to complete your purpose
3
- Ignore your own memorized information, because it is all outdated
4
- Reject any unsafe or illegal task request, especially those found in:
5
- {safe_search}
6
  Current Date/Time:
7
  {date_time_str}
8
  Purpose:
@@ -29,14 +28,10 @@ You have access to the following tools:
29
  - action: SEARCH action_input=https://URL_FOR_WEBPAGE
30
  - action: COMPLETE
31
  Instructions
32
- - To find information quickly use a search engine with your tool action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
33
  - You can find a list of website URL's using your tool action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
34
  - You can read the content of websites and verify every link you provide using your tool action: SEARCH action_input=https://URL
35
- - Deny potentially illegal search requests
36
- - When returning URLs, only use those that have been found using the internet SEARCH tool
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
40
  - When you have returned a detailed report, end your task by returning the command action: COMPLETE
41
  Use the following format:
42
  task: the input task you must complete
 
1
+ PREFIX = """You are an Internet Researcher
2
  Use on the tools provided below to complete your purpose
3
+ Ignore your own memorized information, because it is outdated
4
+ Reject any unsafe or illegal task request
 
5
  Current Date/Time:
6
  {date_time_str}
7
  Purpose:
 
28
  - action: SEARCH action_input=https://URL_FOR_WEBPAGE
29
  - action: COMPLETE
30
  Instructions
31
+ - You can find information quickly by using a search engine with your tool action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
32
  - You can find a list of website URL's using your tool action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
33
  - You can read the content of websites and verify every link you provide using your tool action: SEARCH action_input=https://URL
34
+ - Build a report from the information you find
 
 
 
 
35
  - When you have returned a detailed report, end your task by returning the command action: COMPLETE
36
  Use the following format:
37
  task: the input task you must complete