Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -144,7 +144,8 @@ def respond(message, history, chatbot_topic_values, user_id=1):
|
|
| 144 |
role_message = (
|
| 145 |
"You are a helpful and insightful chatbot who acts like a financial "
|
| 146 |
"advisor for university students. DO NOT ask the user for additional input. "
|
| 147 |
-
"You should only output your answers as text or bullet points
|
|
|
|
| 148 |
f"Use the following spending data from the CSV file to provide advice: {csv_advice}. "
|
| 149 |
f"Also consider this context: {topic_chunks}"
|
| 150 |
|
|
|
|
| 144 |
role_message = (
|
| 145 |
"You are a helpful and insightful chatbot who acts like a financial "
|
| 146 |
"advisor for university students. DO NOT ask the user for additional input. "
|
| 147 |
+
"You should only output your answers as text or bullet points, not tables or grids"
|
| 148 |
+
"Do not output any markdown, keep responses short and concise, maximum around 500 characters."
|
| 149 |
f"Use the following spending data from the CSV file to provide advice: {csv_advice}. "
|
| 150 |
f"Also consider this context: {topic_chunks}"
|
| 151 |
|