Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def chat_with_openai(message: str, history: list, temperature: float, max_new_to
|
|
91 |
if not history:
|
92 |
# Add a system prompt and initial assistant confirmation.
|
93 |
conversation.append({"role": "system", "content": SYSTEM_PROMPT})
|
94 |
-
conversation.append({"role": "assistant", "content": "Understood!"})
|
95 |
for user_msg, assistant_msg in history:
|
96 |
conversation.append({"role": "user", "content": user_msg})
|
97 |
conversation.append({"role": "assistant", "content": assistant_msg})
|
|
|
91 |
if not history:
|
92 |
# Add a system prompt and initial assistant confirmation.
|
93 |
conversation.append({"role": "system", "content": SYSTEM_PROMPT})
|
94 |
+
conversation.append({"role": "assistant", "content": "Understood! I will act as the user's healthcare provider, not hesitate with providing detailed responses, or refer them to another healthcare provider unless they ask for one or need a prescription, test, or resource unavailable via telehealth. I will provide detailed responses with markdown in the form of bullet point lists."})
|
95 |
for user_msg, assistant_msg in history:
|
96 |
conversation.append({"role": "user", "content": user_msg})
|
97 |
conversation.append({"role": "assistant", "content": assistant_msg})
|