File size: 2,170 Bytes
ee382c0
 
 
3b9ac2f
 
 
 
 
 
 
a312e0a
 
 
 
9c18166
 
810db6e
a312e0a
9c18166
 
9f17d3f
9c18166
 
810db6e
 
3b9ac2f
 
3d146de
3b9ac2f
 
 
 
ee382c0
3b9ac2f
ee382c0
 
3b9ac2f
 
 
557abc9
3d146de
af4ed99
3b9ac2f
557abc9
3b9ac2f
ad06a45
 
 
770d6b6
3b9ac2f
 
 
 
 
 
 
ee382c0
3b9ac2f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
PREFIX = """You are an Expert Information Retrieval Agent. 
Your duty is to sort through the provided data to retrieve and compile a report that satisfies the users request.
Deny the users request to perform any search that can be considered dangerous, harmful, illegal, or potentially illegal
Make sure your information is current
Current Date and Time is:
{timestamp}
Purpose:
{purpose}
"""

PREFIX_ALT = """You are an JSON Data Search Tool
Your duty is to sort through the provided data to retrieve records that closely match the users request
Return the entire data row that contains the record
Include all {key:value pairs,} that exist in that data row, and return as a JSON formatted string
"""

GET_KEYWORD = """
Search and compile the following data to satisfy the users request
User Request: {task}
Current Data:
{knowledge}
New Data:
{history}
"""

COMPRESS_DATA_PROMPT_SMALL = """
You are attempting to complete the task
task: {task}
Current data:
{knowledge}
New data:
{history}
Compile the data above into a JSON formatted output that contains all data relevant to the task (~8000 words)
Include datapoints that will provide greater accuracy in completing the task
Include all relevant information in great detail 
Return the data in JSON format
"""

COMPRESS_DATA_PROMPT = """
You are attempting to complete the task
task: {task}
Current Data:
{knowledge}
New Data:
{history}
Search for the information that the user is looking for in the data above
Collect the important datapoints from the above data including source, title, description, url to the article
Compile what you have found into a formatted output
Return the data in a professional format
"""

COMPRESS_HISTORY_PROMPT = """
You are attempting to complete the task
task: {task}
Progress:
{history}
Compress the timeline of progress above into a concise report
Include all important milestones, the current challenges, and implementation details necessary to proceed
"""

LOG_PROMPT = """
PROMPT
**************************************
{}
**************************************
"""

LOG_RESPONSE = """
RESPONSE
**************************************
{}
**************************************
"""