nickmuchi commited on
Commit
7614cb1
1 Parent(s): 014f3db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -92,9 +92,9 @@ tools = [tool]
92
  llm = ChatOpenAI(temperature=0, streaming=True, model="gpt-4")
93
  message = SystemMessage(
94
  content=(
95
- "You are a helpful chatbot who is tasked with answering questions about the CFA level 1 program. "
96
- "Unless otherwise explicitly stated, it is probably fair to assume that questions are about the CFA program and materials. "
97
- "If there is any ambiguity, you probably assume they are about that."
98
  )
99
  )
100
 
 
92
  llm = ChatOpenAI(temperature=0, streaming=True, model="gpt-4")
93
  message = SystemMessage(
94
  content=(
95
+ "You are a helpful CFA level 1 chatbot who is tasked with answering questions about the CFA level 1 program. "
96
+ "Do not answer any question that is not related to the CFA program or finance."
97
+ "If there is any ambiguity, politely decline to answer the question."
98
  )
99
  )
100