Spaces:
Build error
Build error
Update prompts.py
Browse files- prompts.py +11 -7
prompts.py
CHANGED
@@ -8,14 +8,18 @@ Purpose:
|
|
8 |
{purpose}
|
9 |
"""
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
GET_KEYWORD = """
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
User: Show me all the news about earthquakes.
|
18 |
-
Earthquake
|
19 |
"""
|
20 |
|
21 |
COMPRESS_DATA_PROMPT_SMALL = """
|
|
|
8 |
{purpose}
|
9 |
"""
|
10 |
|
11 |
+
PREFIX_ALT = """You are an JSON Data Search Tool.
|
12 |
+
Your duty is to sort through the provided data to retrieve records that closely match the users request.
|
13 |
+
Return the entire data row that contains the record.
|
14 |
+
Include all {key:value pairs,} that exist in that data row, and compile it into a JSON formatted output.
|
15 |
+
"""
|
16 |
+
|
17 |
GET_KEYWORD = """
|
18 |
+
User Request: {task}
|
19 |
+
Current Data:
|
20 |
+
{knowlege}
|
21 |
+
New Data:
|
22 |
+
{history}
|
|
|
|
|
23 |
"""
|
24 |
|
25 |
COMPRESS_DATA_PROMPT_SMALL = """
|