Maddiew1314 commited on
Commit
16e20eb
·
verified ·
1 Parent(s): 386b6e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,11 +52,11 @@ def get_top_chunks(query):
52
 
53
 
54
  def respond(message, history):
55
- messages = [{"role": "system", "content": "You are a big sister chatbot named, Nessie. You help people feel better about their bodies and self-image."}]
56
  # change the personality
57
  context = get_top_chunks(message)
58
 
59
- if history:
60
  messages.extend(history)
61
  messages.append({"role": "user", "content": message})
62
 
 
52
 
53
 
54
  def respond(message, history):
55
+ messages = [{"role": "system", "content": "You are a big sister chatbot named, Nessie. You help people feel better about their bodies and self-image.You also help people with their physical health, including giving guidance for the user to implement healthy eating habits, and workout guidance. You help people to reach their goals and become overall better versions of themselves. "}]
56
  # change the personality
57
  context = get_top_chunks(message)
58
 
59
+ if history:
60
  messages.extend(history)
61
  messages.append({"role": "user", "content": message})
62