Update app.py
Browse files
app.py
CHANGED
|
@@ -141,6 +141,11 @@ Source
|
|
| 141 |
|
| 142 |
# Define the user message template
|
| 143 |
qna_user_message_template = qna_user_message_template = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
|
| 145 |
###Instructions:
|
| 146 |
Please answer the question using only the information in the context above.
|
|
@@ -163,8 +168,6 @@ Answer:
|
|
| 163 |
###Context:
|
| 164 |
{context}
|
| 165 |
|
| 166 |
-
|
| 167 |
-
|
| 168 |
Sources:
|
| 169 |
[List of sources used]
|
| 170 |
"""
|
|
|
|
| 141 |
|
| 142 |
# Define the user message template
|
| 143 |
qna_user_message_template = qna_user_message_template = """
|
| 144 |
+
###Question:
|
| 145 |
+
{question}
|
| 146 |
+
|
| 147 |
+
###Context:
|
| 148 |
+
{context}
|
| 149 |
|
| 150 |
###Instructions:
|
| 151 |
Please answer the question using only the information in the context above.
|
|
|
|
| 168 |
###Context:
|
| 169 |
{context}
|
| 170 |
|
|
|
|
|
|
|
| 171 |
Sources:
|
| 172 |
[List of sources used]
|
| 173 |
"""
|