Update app.py
Browse files
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
|
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:
|