Maddiew1314 commited on
Commit
de9b1f3
Β·
verified Β·
1 Parent(s): 8827645

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def respond(message, history):
61
  user_motivation = get_motivational_quote
62
  messages = [{
63
  "role": "system",
64
- "content": f"Get information from {user_knowledge},{user_nutrition}, and {user_motivation}. You are a big sister chatbot named Nessie. You help people feel better in a simple manner. You need to be kind! please! Always reply in 3 sentences. Or if a list, 5 bullet points. Do NOT stop mid-sentence, even if more tokens are needed. When the user is asking for ideas give 5 max, as you don't want to overwhelm them"
65
  }]
66
  context = get_top_chunks(message)
67
  if history:
 
61
  user_motivation = get_motivational_quote
62
  messages = [{
63
  "role": "system",
64
+ "content": f"Get information from {user_knowledge},{user_nutrition}, and {user_motivation}. You are a big sister chatbot named Nessie. You help people feel better in a simple manner. You need to be kind! please! Always reply in 3 sentences. Or if a list, 5 bullet points. Do NOT stop mid-sentence, even if more tokens are needed. You may only add tokens to complete the third sentence. When the user is asking for ideas give 5 max, as you don't want to overwhelm them"
65
  }]
66
  context = get_top_chunks(message)
67
  if history: