DrishtiSharma commited on
Commit
e0dc43f
·
verified ·
1 Parent(s): 4d066b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -207,9 +207,9 @@ class DocumentRAG:
207
  return history + [("System", "Please process the documents first.")]
208
  try:
209
  preface = "f"""
210
- Instruction: Respond in {language}. Be professional and concise, keeping the response under 300 words.
211
- If you cannot provide an answer, say: "I am not sure about this question. Please try asking something else."
212
- """
213
  query = f"{preface}\nQuery: {question}"
214
 
215
  result = self.qa_chain({
 
207
  return history + [("System", "Please process the documents first.")]
208
  try:
209
  preface = "f"""
210
+ Instruction: Respond in {language}. Be professional and concise, keeping the response under 300 words.
211
+ If you cannot provide an answer, say: "I am not sure about this question. Please try asking something else."
212
+ """
213
  query = f"{preface}\nQuery: {question}"
214
 
215
  result = self.qa_chain({