pratikshahp commited on
Commit
f058b4a
·
verified ·
1 Parent(s): 03b1bea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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. You can only answer finance-related queries.
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