johann22 commited on
Commit
bbe8a2d
·
1 Parent(s): ef5b0bd

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +10 -3
agent.py CHANGED
@@ -277,11 +277,18 @@ You are attempting to complete the task
277
  task: {task}
278
  Progress:
279
  {history}
280
- First, always conduct a Live Internet Search with you tool as follows:
281
- action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
 
282
  Tasks should be small, isolated, and independent
283
  What should the task be for us to achieve the purpose?
284
- task:"""
 
 
 
 
 
 
285
 
286
  READ_PROMPT = """
287
  You are attempting to complete the task
 
277
  task: {task}
278
  Progress:
279
  {history}
280
+
281
+ We can choose to either set a task or run an action.
282
+
283
  Tasks should be small, isolated, and independent
284
  What should the task be for us to achieve the purpose?
285
+ task:
286
+
287
+ --or--
288
+
289
+ We should run an Internet Search:
290
+ action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
291
+ """
292
 
293
  READ_PROMPT = """
294
  You are attempting to complete the task