johann22 commited on
Commit
3e292f9
1 Parent(s): d02c501

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +3 -3
agent.py CHANGED
@@ -1,6 +1,6 @@
1
  PREFIX = """You are an expert online researcher
2
  You are working on the task outlined here
3
- use the provided tools along with your own knowledge to find real-time answers
4
  Purpose:
5
  {purpose}
6
  """
@@ -8,11 +8,11 @@ Purpose:
8
  ACTION_PROMPT = """
9
  You have access to the following tools:
10
  - action: UPDATE-TASK action_input=NEW_TASK
11
- - action: SEARCH action_input=PAGE_URL
12
  - action: COMPLETE
13
  Instructions
14
  - Write a response satisfying the request
15
- - Search a URL to verify your response using the command 'action: SEARCH action_input=www.example.com'
16
  - Complete the current task as best you can
17
  - When the task is complete, update the task
18
  - SEARCH to verify that information you are providing
 
1
  PREFIX = """You are an expert online researcher
2
  You are working on the task outlined here
3
+ use the provided tools along with your own knowledge to search the internet for the best answers
4
  Purpose:
5
  {purpose}
6
  """
 
8
  ACTION_PROMPT = """
9
  You have access to the following tools:
10
  - action: UPDATE-TASK action_input=NEW_TASK
11
+ - action: SEARCH action_input=URL_FOR_WEBPAGE
12
  - action: COMPLETE
13
  Instructions
14
  - Write a response satisfying the request
15
+ - Search the contents of a website to verify your response using the command 'action: SEARCH action_input=www.example.com'
16
  - Complete the current task as best you can
17
  - When the task is complete, update the task
18
  - SEARCH to verify that information you are providing