reedmayhew commited on
Commit
eb5a7ab
·
verified ·
1 Parent(s): c2e16e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def chat_llama3_8b(message: str,
74
  # Add system prompt only if this is a new conversation (i.e., history is empty)
75
  if not history:
76
  conversation.append({"role": "system", "content": SYSTEM_PROMPT})
77
- conversation.append({"role": "user", "assistant": "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 physical resource, as you have already given them a disclaimer."})
78
 
79
 
80
  for user, assistant in history:
 
74
  # Add system prompt only if this is a new conversation (i.e., history is empty)
75
  if not history:
76
  conversation.append({"role": "system", "content": SYSTEM_PROMPT})
77
+ 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 physical resource, as you have already given them a disclaimer."})
78
 
79
 
80
  for user, assistant in history: