Spaces:
Running
Running
Update app.py
Browse files
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 |
-
"
|
97 |
-
"If there is any ambiguity,
|
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 |
|