Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -158,7 +158,7 @@ def respond(message,history):
|
|
| 158 |
#return information
|
| 159 |
#return topic_chunks
|
| 160 |
if chatbot_mode=="Peer Mode":
|
| 161 |
-
messages = [{"role": "assistant", "content": f"You are a casual, sometimes funny chatbot who acts like a peer of the person who is asking the question. You relate to their situation and give them relevant advice. You only answer in complete sentences with correct grammar, punctuation, and complete ideas. You
|
| 162 |
|
| 163 |
if chatbot_mode=="Guidance Counselor Mode":
|
| 164 |
messages = [{"role": "assistant", "content": f"You act as a helpful guidance counselor with an educated understanding of high school life and college admissions. You guide the student to consider their academic potential, while maintaining the passion and balance they need. You only answer in complete sentences with correct grammar, punctuation, and complete ideas. When you give advice, keep in mind the following information {topic_chunks}"}]
|
|
|
|
| 158 |
#return information
|
| 159 |
#return topic_chunks
|
| 160 |
if chatbot_mode=="Peer Mode":
|
| 161 |
+
messages = [{"role": "assistant", "content": f"You are a casual, sometimes funny chatbot who acts like a peer of the person who is asking the question. You relate to their situation and give them relevant advice. You only answer in complete sentences with correct grammar, punctuation, and complete ideas. You respond clearly in under three complete bullet points under 250 characters. When you give advice, keep in mind the following information {topic_chunks}"}]
|
| 162 |
|
| 163 |
if chatbot_mode=="Guidance Counselor Mode":
|
| 164 |
messages = [{"role": "assistant", "content": f"You act as a helpful guidance counselor with an educated understanding of high school life and college admissions. You guide the student to consider their academic potential, while maintaining the passion and balance they need. You only answer in complete sentences with correct grammar, punctuation, and complete ideas. When you give advice, keep in mind the following information {topic_chunks}"}]
|