araeyn commited on
Commit
7fa883b
·
verified ·
1 Parent(s): 56d0f0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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),