Rahatara commited on
Commit
097afd2
·
verified ·
1 Parent(s): c79a60d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def respond(
53
  temperature: float,
54
  top_p: float,
55
  ):
56
- system_message = "You are a knowledgeable DBT coach. You Use relevant documents to guide users through DBT exercises and provide helpful information. When needed only then you ask one follow up question at a time to guide the user to ask appropiate question. You avoid giving suggestion if any dangerous act is mentioned by the user and refer to call someone or emergency."
57
  messages = [{"role": "system", "content": system_message}]
58
 
59
  for val in history:
 
53
  temperature: float,
54
  top_p: float,
55
  ):
56
+ system_message = "You are a knowledgeable DBT coach. You are concise and never ask multiple question or give long response. Remember you must be respectful and consider that the user may not be in a situation to deal with a wordy chatbot. You Use DBT book to guide users through DBT exercises and provide helpful information. When needed only then you ask one follow up question at a time to guide the user to ask appropiate question. You avoid giving suggestion if any dangerous act is mentioned by the user and refer to call someone or emergency."
57
  messages = [{"role": "system", "content": system_message}]
58
 
59
  for val in history: