Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
@@ -7,8 +7,8 @@ You have access to the following tools:
|
|
7 |
- action: SEARCH action_input=https://URL_FOR_WEBPAGE
|
8 |
- action: COMPLETE
|
9 |
|
10 |
-
|
11 |
-
Trigger your tools by replying a
|
12 |
action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
|
13 |
|
14 |
Follow all instructions provided to satisfy your tasks, and complete your purpose
|
@@ -31,9 +31,6 @@ We can choose to either set a task or run an action.
|
|
31 |
Tasks should be small, isolated, and independent
|
32 |
What should the task be for us to achieve the purpose?
|
33 |
task:
|
34 |
-
|
35 |
-
--or--
|
36 |
-
|
37 |
We should run an Internet Search:
|
38 |
action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
|
39 |
"""
|
@@ -111,7 +108,7 @@ Use the document you are provided to Create an original article (~5000 words).
|
|
111 |
provided document:
|
112 |
{document}
|
113 |
|
114 |
-
Discuss all of the important
|
115 |
purpose:
|
116 |
{purpose}
|
117 |
|
|
|
7 |
- action: SEARCH action_input=https://URL_FOR_WEBPAGE
|
8 |
- action: COMPLETE
|
9 |
|
10 |
+
Use only the tools that you have been given access to
|
11 |
+
Trigger your tools by replying with a single-lined sentence in this format:
|
12 |
action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
|
13 |
|
14 |
Follow all instructions provided to satisfy your tasks, and complete your purpose
|
|
|
31 |
Tasks should be small, isolated, and independent
|
32 |
What should the task be for us to achieve the purpose?
|
33 |
task:
|
|
|
|
|
|
|
34 |
We should run an Internet Search:
|
35 |
action: SEARCH action_input=https://SEARCH_ENGINE_URL/search?q=QUERY
|
36 |
"""
|
|
|
108 |
provided document:
|
109 |
{document}
|
110 |
|
111 |
+
Discuss all of the important points in the document relating to completing your purpose.
|
112 |
purpose:
|
113 |
{purpose}
|
114 |
|