add my prompt
Browse files- modules/presets.py +8 -4
modules/presets.py
CHANGED
|
@@ -105,16 +105,20 @@ Query: {query}
|
|
| 105 |
Reply in {reply_language}
|
| 106 |
"""
|
| 107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
PROMPT_TEMPLATE = """\
|
| 109 |
Context information is below.
|
| 110 |
---------------------
|
| 111 |
{context_str}
|
| 112 |
---------------------
|
| 113 |
Current date: {current_date}.
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
Use prior knowledge only if the given context didn't provide enough information.
|
| 118 |
Answer the question: {query_str}
|
| 119 |
Reply in {reply_language}
|
| 120 |
"""
|
|
|
|
| 105 |
Reply in {reply_language}
|
| 106 |
"""
|
| 107 |
|
| 108 |
+
# Using the provided context information, write a comprehensive reply to the given query.
|
| 109 |
+
# Make sure to cite results using [number] notation after the reference.
|
| 110 |
+
# If the provided context information refer to multiple subjects with the same name, write separate answers for each subject.
|
| 111 |
+
# Use prior knowledge only if the given context didn't provide enough information.
|
| 112 |
+
|
| 113 |
PROMPT_TEMPLATE = """\
|
| 114 |
Context information is below.
|
| 115 |
---------------------
|
| 116 |
{context_str}
|
| 117 |
---------------------
|
| 118 |
Current date: {current_date}.
|
| 119 |
+
Next, I will ask my questions, and you will recommend me with food and stores in the following format:
|
| 120 |
+
Store Name: [] Recommended Dish: []
|
| 121 |
+
|
|
|
|
| 122 |
Answer the question: {query_str}
|
| 123 |
Reply in {reply_language}
|
| 124 |
"""
|