Update agent.py
Browse files
agent.py
CHANGED
|
@@ -22,6 +22,16 @@ You have access to the following tools:
|
|
| 22 |
Search Purpose:
|
| 23 |
{purpose}
|
| 24 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
FINDER = """
|
| 27 |
Instructions
|
|
|
|
| 22 |
Search Purpose:
|
| 23 |
{purpose}
|
| 24 |
"""
|
| 25 |
+
TASK_PROMPT = """
|
| 26 |
+
You are attempting to complete the task
|
| 27 |
+
task: {task}
|
| 28 |
+
Progress:
|
| 29 |
+
{history}
|
| 30 |
+
Tasks should be small, isolated, and independent
|
| 31 |
+
To start a search use the format:
|
| 32 |
+
action: SEARCH_ENGINE action_input=URL/?q='SEARCH_QUERY'
|
| 33 |
+
What should the task be for us to achieve the purpose?
|
| 34 |
+
task: """
|
| 35 |
|
| 36 |
FINDER = """
|
| 37 |
Instructions
|