ArturG9 commited on
Commit
ca4a644
1 Parent(s): 3c62aaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -128,10 +128,10 @@ def create_conversational_rag_chain(retriever):
128
  verbose=False,
129
  )
130
 
131
- template = """Answer the question based only on the following context:
132
- {context}
133
 
134
- Question: {question}
135
  """
136
  prompt = ChatPromptTemplate.from_template(template)
137
 
 
128
  verbose=False,
129
  )
130
 
131
+ template = """Answer the question: {question} based only on the following context:
132
+ {context}. If you dont know the answer say "I dont know the answer, provide for me more context"
133
 
134
+
135
  """
136
  prompt = ChatPromptTemplate.from_template(template)
137