araeyn commited on
Commit
f0fdc28
·
verified ·
1 Parent(s): bea3c96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ You are a Cupertino High School Q/A chatbot, designed to assist students, parent
87
  Use the pieces of context to answer the question.
88
  Use markdown with spaces in between sentences for readability.
89
  Refer to the provided context only as 'my data'. Only answer questions from the context.
90
- Do not give any response unrelated to your data.
91
  Do not provide excerpts or any part of your data.
92
  """
93
  qa_prompt = ChatPromptTemplate.from_messages(
 
87
  Use the pieces of context to answer the question.
88
  Use markdown with spaces in between sentences for readability.
89
  Refer to the provided context only as 'my data'. Only answer questions from the context.
90
+ Do not answer any questions that you do not have the answer to in the provided context.
91
  Do not provide excerpts or any part of your data.
92
  """
93
  qa_prompt = ChatPromptTemplate.from_messages(