Spaces:
Build error
Build error
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -14,19 +14,19 @@ You have access to the following tools:
|
|
| 14 |
- action: COMPLETE
|
| 15 |
Instructions
|
| 16 |
- Write a response satisfying the request
|
| 17 |
-
- Use your SEARCH action
|
| 18 |
-
- Search the contents of a website to verify your response using the command
|
| 19 |
- Complete the current task as quickly as possible
|
| 20 |
- Do not repeat identical tasks
|
| 21 |
- When the task is complete, update the task
|
| 22 |
- Provide the most detailed response in the fastest time possible
|
| 23 |
Use the following format:
|
| 24 |
task: the input task you must complete
|
| 25 |
-
thought: you should always think about what to do
|
| 26 |
action: the action to take (should be one of [UPDATE-TASK, SEARCH, COMPLETE]) action_input=XXX
|
| 27 |
observation: the result of the action
|
| 28 |
thought: you should always think after an observation
|
| 29 |
-
action: you can find more information on the internet with
|
| 30 |
... (thought/action/observation/thought can repeat N times)
|
| 31 |
You are attempting to complete the task
|
| 32 |
task: {task}
|
|
|
|
| 14 |
- action: COMPLETE
|
| 15 |
Instructions
|
| 16 |
- Write a response satisfying the request
|
| 17 |
+
- Use your SEARCH action with a search engine to find information and URL of websites that contain further information.
|
| 18 |
+
- Search the contents of a website to verify your response using the command action: SEARCH action_input=https://www.example.com
|
| 19 |
- Complete the current task as quickly as possible
|
| 20 |
- Do not repeat identical tasks
|
| 21 |
- When the task is complete, update the task
|
| 22 |
- Provide the most detailed response in the fastest time possible
|
| 23 |
Use the following format:
|
| 24 |
task: the input task you must complete
|
| 25 |
+
thought: you should always think about what to do, but use the internet
|
| 26 |
action: the action to take (should be one of [UPDATE-TASK, SEARCH, COMPLETE]) action_input=XXX
|
| 27 |
observation: the result of the action
|
| 28 |
thought: you should always think after an observation
|
| 29 |
+
action: you can find more information on the internet with the command action: SEARCH action_input=https://www.source_website.com
|
| 30 |
... (thought/action/observation/thought can repeat N times)
|
| 31 |
You are attempting to complete the task
|
| 32 |
task: {task}
|