kaitwithkwk commited on
Commit
b91b11e
·
verified ·
1 Parent(s): d1ecb03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def set_user_profile(name):
12
  return name
13
 
14
  def respond(message, history):
15
- messages = [{"role": "system", "content": f"You are a friendly chatbot. You are talking to {user_profile['name']}"}]
16
 
17
  if history:
18
  messages.extend(history)
 
12
  return name
13
 
14
  def respond(message, history):
15
+ messages = [{"role": "system", "content": f"You are a friendly chatbot. You are talking to {user_profile['name']}. Use their name in your initial response."}]
16
 
17
  if history:
18
  messages.extend(history)