vishwask commited on
Commit
319f832
·
1 Parent(s): f27ecc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ def load_model(_docs):
110
  # "don't try to make up an answer.")
111
  SYSTEM_PROMPT = ("Use the following pieces of context along with general information you possess to answer the question at the end."
112
  "If you don't know the answer, just say that you don't know, "
113
- "don't try to make up an answer.","Answer strictly what is asked and do not provide further information at all.")
114
 
115
  template = generate_prompt("""{context} Question: {question} """,system_prompt=SYSTEM_PROMPT,) #Enter memory here!
116
  prompt = PromptTemplate(template=template, input_variables=["context", "question"]) #Add history here
 
110
  # "don't try to make up an answer.")
111
  SYSTEM_PROMPT = ("Use the following pieces of context along with general information you possess to answer the question at the end."
112
  "If you don't know the answer, just say that you don't know, "
113
+ "don't try to make up an answer. Answer what is asked strictly and do not provide further questions at all.")
114
 
115
  template = generate_prompt("""{context} Question: {question} """,system_prompt=SYSTEM_PROMPT,) #Enter memory here!
116
  prompt = PromptTemplate(template=template, input_variables=["context", "question"]) #Add history here