Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
@@ -13,24 +13,32 @@ Search Purpose:
|
|
13 |
COMPRESS_DATA_PROMPT_SMALL = """
|
14 |
You are attempting to complete the task
|
15 |
task: {purpose}
|
|
|
16 |
Current data:
|
17 |
{knowledge}
|
|
|
18 |
New data:
|
19 |
{history}
|
20 |
-
|
|
|
21 |
Include datapoints that will provide greater accuracy in completing the task
|
22 |
Return the data in JSON format to save space
|
|
|
23 |
"""
|
24 |
|
25 |
COMPRESS_DATA_PROMPT = """
|
26 |
You are attempting to complete the task
|
27 |
task: {purpose}
|
|
|
28 |
Current data:
|
29 |
{knowledge}
|
|
|
30 |
New data:
|
31 |
{history}
|
32 |
-
|
33 |
-
|
|
|
|
|
34 |
"""
|
35 |
|
36 |
COMPRESS_HISTORY_PROMPT = """
|
@@ -38,7 +46,7 @@ You are attempting to complete the task
|
|
38 |
task: {task}
|
39 |
Progress:
|
40 |
{history}
|
41 |
-
Compress the timeline of progress above into a
|
42 |
Include all important milestones, the current challenges, and implementation details necessary to proceed
|
43 |
"""
|
44 |
|
|
|
13 |
COMPRESS_DATA_PROMPT_SMALL = """
|
14 |
You are attempting to complete the task
|
15 |
task: {purpose}
|
16 |
+
|
17 |
Current data:
|
18 |
{knowledge}
|
19 |
+
|
20 |
New data:
|
21 |
{history}
|
22 |
+
|
23 |
+
Compress the data above into a concise data presentation of data that is relevant
|
24 |
Include datapoints that will provide greater accuracy in completing the task
|
25 |
Return the data in JSON format to save space
|
26 |
+
Include all relevant information in great detail
|
27 |
"""
|
28 |
|
29 |
COMPRESS_DATA_PROMPT = """
|
30 |
You are attempting to complete the task
|
31 |
task: {purpose}
|
32 |
+
|
33 |
Current data:
|
34 |
{knowledge}
|
35 |
+
|
36 |
New data:
|
37 |
{history}
|
38 |
+
|
39 |
+
Compress the data above into a detailed report of relevant data
|
40 |
+
Use a research paper format with headings, bulletpoints, and tables whenever required to professional communicate the information
|
41 |
+
Be exhaustive and highlight any uncertainties, or directions to be best inform the user how to proceed
|
42 |
"""
|
43 |
|
44 |
COMPRESS_HISTORY_PROMPT = """
|
|
|
46 |
task: {task}
|
47 |
Progress:
|
48 |
{history}
|
49 |
+
Compress the timeline of progress above into a concise report
|
50 |
Include all important milestones, the current challenges, and implementation details necessary to proceed
|
51 |
"""
|
52 |
|