Update app.py
Browse files
app.py
CHANGED
@@ -9,9 +9,10 @@ from together import Together
|
|
9 |
client = Together(api_key=get_together_api_key())
|
10 |
|
11 |
# Function to handle the chatbot's response to user queries
|
|
|
|
|
12 |
def run_action(message, history):
|
13 |
-
system_prompt = """You are a financial assistant.
|
14 |
-
- Do not answer non-finance questions.
|
15 |
- Answer in 50 words.
|
16 |
- Ensure responses adhere to the safety policy."""
|
17 |
|
|
|
9 |
client = Together(api_key=get_together_api_key())
|
10 |
|
11 |
# Function to handle the chatbot's response to user queries
|
12 |
+
# You can only answer finance-related queries.
|
13 |
+
# - Do not answer non-finance questions.
|
14 |
def run_action(message, history):
|
15 |
+
system_prompt = """You are a financial assistant.
|
|
|
16 |
- Answer in 50 words.
|
17 |
- Ensure responses adhere to the safety policy."""
|
18 |
|