Spaces:
Build error
Build error
Update agent.py
Browse files
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
|
| 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=
|
| 12 |
- action: COMPLETE
|
| 13 |
Instructions
|
| 14 |
- Write a response satisfying the request
|
| 15 |
-
- Search a
|
| 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
|