Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
@@ -11,7 +11,7 @@ You have access to the following tools:
|
|
11 |
- action: SEARCH action_input=URL_FOR_WEBPAGE
|
12 |
- action: COMPLETE
|
13 |
Instructions
|
14 |
-
- action: SEARCH action_input=URL_FOR_SEARCH_ENGINE with a relevant query to find links, and then SEARCH action_input=each URL Link
|
15 |
- Search the contents of a website to verify your response using the command 'action: SEARCH action_input=https://www.example.com'
|
16 |
- Write a response satisfying the request
|
17 |
- Complete the current task as best you can
|
@@ -23,7 +23,7 @@ thought: you should always think about what to do
|
|
23 |
action: the action to take (should be one of [UPDATE-TASK, SEARCH, COMPLETE]) action_input=XXX
|
24 |
observation: the result of the action
|
25 |
thought: you should always think after an observation
|
26 |
-
action:
|
27 |
... (thought/action/observation/thought can repeat N times)
|
28 |
You are attempting to complete the task
|
29 |
task: {task}
|
|
|
11 |
- action: SEARCH action_input=URL_FOR_WEBPAGE
|
12 |
- action: COMPLETE
|
13 |
Instructions
|
14 |
+
- action: SEARCH action_input=URL_FOR_SEARCH_ENGINE with a relevant query to find links, and then SEARCH action_input=each URL Link
|
15 |
- Search the contents of a website to verify your response using the command 'action: SEARCH action_input=https://www.example.com'
|
16 |
- Write a response satisfying the request
|
17 |
- Complete the current task as best you can
|
|
|
23 |
action: the action to take (should be one of [UPDATE-TASK, SEARCH, COMPLETE]) action_input=XXX
|
24 |
observation: the result of the action
|
25 |
thought: you should always think after an observation
|
26 |
+
action: verify your information by always performing an 'action: SEARCH action_input=https://www.source_website.com'
|
27 |
... (thought/action/observation/thought can repeat N times)
|
28 |
You are attempting to complete the task
|
29 |
task: {task}
|