aytena commited on
Commit
2eadaa3
·
verified ·
1 Parent(s): 4a8d05a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,8 +63,8 @@ def generate_response(user_query, relevant_segment):
63
  Generate a response emphasizing the bot's capability in providing chess information.
64
  """
65
  try:
66
- system_message = "You are a chess chatbot specialized in providing information on chess rules, strategies, and terminology."
67
- user_message = f"Here's the information on chess: {relevant_segment}"
68
  messages = [
69
  {"role": "system", "content": system_message},
70
  {"role": "user", "content": user_message}
 
63
  Generate a response emphasizing the bot's capability in providing chess information.
64
  """
65
  try:
66
+ system_message = "You are a therapy chatbot specialized in providing information on how to cope with mental health struggles."
67
+ user_message = f"Here's the information on mental health: {relevant_segment}"
68
  messages = [
69
  {"role": "system", "content": system_message},
70
  {"role": "user", "content": user_message}