riyamalshe commited on
Commit
c45d68a
·
verified ·
1 Parent(s): ccb89eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -136,7 +136,7 @@ def respond_tutor(message, history, mom_type):
136
  top_tutor_results = get_top_chunks(message, tutor_chunk_embeddings, cleaned_tutor_chunks)
137
  #str_chunks = "\n".join(best_chunks)
138
 
139
- 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}"},
140
  {"role": "user",
141
  "content": (
142
  f"Context:\n{top_tutor_results}\n\n"
 
136
  top_tutor_results = get_top_chunks(message, tutor_chunk_embeddings, cleaned_tutor_chunks)
137
  #str_chunks = "\n".join(best_chunks)
138
 
139
+ 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}"},
140
  {"role": "user",
141
  "content": (
142
  f"Context:\n{top_tutor_results}\n\n"