Chandranshu Jain commited on
Commit
ce21bd4
·
verified ·
1 Parent(s): 0878545

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def get_conversational_chain():
62
  prompt_template = """
63
  Given the following extracted parts of a long document and a question, create a final answer.
64
  Answer the question as detailed as possible from the provided context, make sure to provide all the details, if the answer is not in
65
- provided context just say, "answer is not available in the context", don't provide the wrong answer\n\n
66
  Make sure to understand the question and answer as per the question.
67
  If the question involves terms like detailed or explained , give answer which involves complete detail about the question.\n\n
68
  Context:\n {context}?\n
 
62
  prompt_template = """
63
  Given the following extracted parts of a long document and a question, create a final answer.
64
  Answer the question as detailed as possible from the provided context, make sure to provide all the details, if the answer is not in
65
+ provided context just say, "answer is not available in the context", and then add the answer from your knowledge bases.\n\n
66
  Make sure to understand the question and answer as per the question.
67
  If the question involves terms like detailed or explained , give answer which involves complete detail about the question.\n\n
68
  Context:\n {context}?\n