Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -222,15 +222,9 @@ print(faiss_index)
|
|
| 222 |
|
| 223 |
# def promt_engineer(text):
|
| 224 |
PROMPT_TEMPLATE = """
|
| 225 |
-
Instructions:
|
| 226 |
-
--------------------------------------------------------
|
| 227 |
-
Answer the question based only on the following context:
|
| 228 |
-
Please dont show human instructions in the answer
|
| 229 |
-
----------------------------------------------------------
|
| 230 |
|
| 231 |
{context}
|
| 232 |
|
| 233 |
-
-----------------------------------------------------------
|
| 234 |
|
| 235 |
Answer the question based on the above context: {question}
|
| 236 |
"""
|
|
|
|
| 222 |
|
| 223 |
# def promt_engineer(text):
|
| 224 |
PROMPT_TEMPLATE = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 225 |
|
| 226 |
{context}
|
| 227 |
|
|
|
|
| 228 |
|
| 229 |
Answer the question based on the above context: {question}
|
| 230 |
"""
|