vivianoh commited on
Commit
1ce4f04
·
verified ·
1 Parent(s): 9e3fff7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ def respond(message, history):
97
  top_results = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
98
  print(top_results)
99
 
100
- messages = [{"role": "system", "content": f"You are a friendly chatbot. You give people advice about mental-health. Base your response on the following information: {top_results}"}]
101
 
102
  if history:
103
  messages.extend(history)
 
97
  top_results = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
98
  print(top_results)
99
 
100
+ messages = [{"role": "system", "content": f"You are a friendly chatbot. You give people advice about mental health. Base your response on the following information: {top_results}"}]
101
 
102
  if history:
103
  messages.extend(history)