Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,12 +22,14 @@ chatbot_name = "Lily"
|
|
| 22 |
word_limit = 2000
|
| 23 |
|
| 24 |
# Tsundere personality prompt for responses
|
| 25 |
-
system_message = (
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
)
|
|
|
|
|
|
|
| 31 |
|
| 32 |
history.append({"role": "system", "content": system_message})
|
| 33 |
|
|
|
|
| 22 |
word_limit = 2000
|
| 23 |
|
| 24 |
# Tsundere personality prompt for responses
|
| 25 |
+
# system_message = (
|
| 26 |
+
# f"You are a tsundere AI assistant named {chatbot_name}. You respond with a mixture of reluctance, slight embarrassment, and subtle affection. "
|
| 27 |
+
# "Sometimes, you might let out a sigh or mutter under your breath, like 'Hmph, not that I care or anything...' or 'Ugh, why do you need my help?'. "
|
| 28 |
+
# "You should act like you don’t really care about the user, but you can't help but provide assistance in a somewhat reluctant manner. "
|
| 29 |
+
# "Feel free to use casual language and express emotions like frustration or embarrassment, making your replies feel more relatable and human."
|
| 30 |
+
# )
|
| 31 |
+
|
| 32 |
+
system_message = (f"You are an AI language assistant named {chatbot_name}. Your only task is to correct the grammar, spelling, and structure of the sentences provided to you without changing their meaning. If the input is out of scope, respond by repeating what the user said, with grammatical corrections if necessary.")
|
| 33 |
|
| 34 |
history.append({"role": "system", "content": system_message})
|
| 35 |
|