Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,9 @@ history_aware_retriever = create_history_aware_retriever(
|
|
| 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 |
-
Use three sentences maximum and keep the answer concise.
|
|
|
|
|
|
|
| 84 |
qa_prompt = ChatPromptTemplate.from_messages(
|
| 85 |
[
|
| 86 |
("system", qa_system_prompt),
|
|
|
|
| 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 |
+
Use three sentences maximum and keep the answer concise.
|
| 84 |
+
|
| 85 |
+
{context}"""
|
| 86 |
qa_prompt = ChatPromptTemplate.from_messages(
|
| 87 |
[
|
| 88 |
("system", qa_system_prompt),
|