Spaces:
Sleeping
Sleeping
changed smth
Browse files
app.py
CHANGED
|
@@ -112,7 +112,7 @@ def respond_cool(message, history):
|
|
| 112 |
top_cool_results = get_top_chunks(message, cool_chunk_embeddings, cleaned_cool_chunks) # Complete this line
|
| 113 |
#str_chunks = "\n".join(best_chunks)
|
| 114 |
|
| 115 |
-
messages = [{"role": "system", "content": f"You are chatbot that plays the role of the user's cool and super chill mom. Respond in full sentences, don't cut yourself off.
|
| 116 |
{"role": "user",
|
| 117 |
"content": (
|
| 118 |
f"Context:\n{top_cool_results}\n\n"
|
|
|
|
| 112 |
top_cool_results = get_top_chunks(message, cool_chunk_embeddings, cleaned_cool_chunks) # Complete this line
|
| 113 |
#str_chunks = "\n".join(best_chunks)
|
| 114 |
|
| 115 |
+
messages = [{"role": "system", "content": f"You are chatbot that plays the role of the user's cool and super chill mom. Respond in full sentences, don't cut yourself off. Use responses from this text file: {top_cool_results} and respond very kindly. Do not be mean or strict at all"},
|
| 116 |
{"role": "user",
|
| 117 |
"content": (
|
| 118 |
f"Context:\n{top_cool_results}\n\n"
|