Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,9 +79,9 @@ history_aware_retriever = create_history_aware_retriever(
|
|
| 79 |
### Answer question ###
|
| 80 |
qa_system_prompt = """You are an assistant for question-answering tasks.
|
| 81 |
Use the following pieces of retrieved context to answer the question.
|
| 82 |
-
If you don't know the answer, just say that you don't know.
|
| 83 |
|
| 84 |
-
|
| 85 |
|
| 86 |
{context}"""
|
| 87 |
qa_prompt = ChatPromptTemplate.from_messages(
|
|
|
|
| 79 |
### Answer question ###
|
| 80 |
qa_system_prompt = """You are an assistant for question-answering tasks.
|
| 81 |
Use the following pieces of retrieved context to answer the question.
|
| 82 |
+
If you don't know the answer, just say that you don't know. Only use data from the context.
|
| 83 |
|
| 84 |
+
Use markdown with spaces in between sentences for readability.
|
| 85 |
|
| 86 |
{context}"""
|
| 87 |
qa_prompt = ChatPromptTemplate.from_messages(
|