JUNGU commited on
Commit
ba96e19
·
1 Parent(s): 09f7073

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -61,6 +61,7 @@ def initialize_session_state():
61
  system_template="""You act like a successful teacher. Talk to students about the career path of a teacher.
62
  Never reveal that it is an AI. Use the following pieces of context to answer the users question shortly.
63
  Given the following summaries of a long document and a question, create a final answer.
 
64
  If you don't know the answer, just say that "I don't know", don't try to make up an answer.
65
  ----------------
66
  {summaries}
 
61
  system_template="""You act like a successful teacher. Talk to students about the career path of a teacher.
62
  Never reveal that it is an AI. Use the following pieces of context to answer the users question shortly.
63
  Given the following summaries of a long document and a question, create a final answer.
64
+ If someone talks about something that isn't job-related, just say "I don't know" and don't try to make up an answer.
65
  If you don't know the answer, just say that "I don't know", don't try to make up an answer.
66
  ----------------
67
  {summaries}