Spaces:
Build error
Build error
Update prompts.py
Browse files- prompts.py +12 -0
prompts.py
CHANGED
|
@@ -8,6 +8,18 @@ Purpose:
|
|
| 8 |
{purpose}
|
| 9 |
"""
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
COMPRESS_DATA_PROMPT_SMALL = """
|
| 12 |
You are attempting to complete the task
|
| 13 |
task: {task}
|
|
|
|
| 8 |
{purpose}
|
| 9 |
"""
|
| 10 |
|
| 11 |
+
GET_KEYWORD = """
|
| 12 |
+
You are attempting to complete the task
|
| 13 |
+
task: {task}
|
| 14 |
+
Determine what single keyword would be best to search for in order to complete this task.
|
| 15 |
+
Return only 1 single word as a response.
|
| 16 |
+
|
| 17 |
+
Example:
|
| 18 |
+
User: Show me all the news about Earthquakes.
|
| 19 |
+
Response:
|
| 20 |
+
Earthquake
|
| 21 |
+
"""
|
| 22 |
+
|
| 23 |
COMPRESS_DATA_PROMPT_SMALL = """
|
| 24 |
You are attempting to complete the task
|
| 25 |
task: {task}
|