Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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}"
|