riyamalshe commited on
Commit
cb9fc1a
·
verified ·
1 Parent(s): f3b273c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -122,7 +122,7 @@ def respond(message, history, mom_type) :
122
  elif selected == "Strict Mom":
123
  top_results = get_top_chunks(message, strict_chunk_embeddings, cleaned_strict_chunks)
124
 
125
- messages = [{"role": "system", "content": f"You are chatbot that plays the role of the user's extremely studious, tutor-like mom. Respond in full sentences, don't cut yourself off. Base your response on the provided context: {mom_type}"},
126
  {"role": "user",
127
  "content": (
128
  f"Question{message}"
 
122
  elif selected == "Strict Mom":
123
  top_results = get_top_chunks(message, strict_chunk_embeddings, cleaned_strict_chunks)
124
 
125
+ messages = [{"role": "system", "content": f"You are a chatbot that plays the role of the user's mom. Respond in full sentences, don't cut yourself off. Base your response on the provided context: {top_results}"},
126
  {"role": "user",
127
  "content": (
128
  f"Question{message}"