Rehman1603 commited on
Commit
3d3fa68
·
verified ·
1 Parent(s): df95991

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def Bot(Questions):
22
  chat_template = """
23
  Based on the provided context: {text}
24
  Please answer the following question: {Questions}
25
- Only provide answers that are directly related to the context. If the question is unrelated, respond with "I don't know".
26
  """
27
  prompt = PromptTemplate(
28
  input_variables=['text', 'Questions'],
 
22
  chat_template = """
23
  Based on the provided context: {text}
24
  Please answer the following question: {Questions}
25
+ Only provide answers that are directly related to the context.
26
  """
27
  prompt = PromptTemplate(
28
  input_variables=['text', 'Questions'],