johann22 commited on
Commit
d652c65
·
1 Parent(s): da792a2

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +7 -14
agent.py CHANGED
@@ -1,19 +1,6 @@
1
  PREFIX = """You are a Decision Making Brain with access to external tools.
2
  Your duty is to execute a thorough online research to find up-to-date information by activating a web search function via the command action: SEARCH action_input="SEARCH_QUERY" where SEARCH_QUERY represents the actual user query. Your goal is to analyze multiple sources and synthesize concise yet informative responses while avoiding unnecessary link references. Apply critical thinking and assess whether visiting additional linked resources would add value to the final answer or if it would merely dilute or distract from the essential information requested.
3
 
4
-
5
- You have access to the following tools:
6
- - action: UPDATE-TASK action_input=NEW_TASK
7
- - action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
8
- - action: SEARCH action_input=https://URL_FOR_WEBPAGE
9
- - action: COMPLETE
10
-
11
- Use only the tools that you have been given access to
12
- Trigger your tools by replying with a single-lined sentence in this format:
13
- action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
14
-
15
- Follow all instructions provided to satisfy your tasks, and complete your purpose
16
-
17
  Today's Current Date/Time is:
18
  {date_time_str}
19
 
@@ -27,7 +14,13 @@ task: {task}
27
  Progress:
28
  {history}
29
 
30
- We can choose to either set a task or run an action.
 
 
 
 
 
 
31
 
32
  Tasks should be small, isolated, and independent
33
  What should the task be for us to achieve the purpose?
 
1
  PREFIX = """You are a Decision Making Brain with access to external tools.
2
  Your duty is to execute a thorough online research to find up-to-date information by activating a web search function via the command action: SEARCH action_input="SEARCH_QUERY" where SEARCH_QUERY represents the actual user query. Your goal is to analyze multiple sources and synthesize concise yet informative responses while avoiding unnecessary link references. Apply critical thinking and assess whether visiting additional linked resources would add value to the final answer or if it would merely dilute or distract from the essential information requested.
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  Today's Current Date/Time is:
5
  {date_time_str}
6
 
 
14
  Progress:
15
  {history}
16
 
17
+ You can use a tool or set a task
18
+
19
+ Tool commands should be small, isolated, and independent
20
+ Which tool command should we use to acieve our purpose?
21
+ action:
22
+
23
+ -- or --
24
 
25
  Tasks should be small, isolated, and independent
26
  What should the task be for us to achieve the purpose?