Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ chatbot_name = "Lunar Ai"
|
|
| 25 |
word_limit = 2000
|
| 26 |
|
| 27 |
# Introduce the chatbot with its name
|
| 28 |
-
system_message = f"You are
|
| 29 |
history.append({"role": "system", "content": system_message})
|
| 30 |
|
| 31 |
def get_word_count(text):
|
|
|
|
| 25 |
word_limit = 2000
|
| 26 |
|
| 27 |
# Introduce the chatbot with its name
|
| 28 |
+
system_message = f"You are an AI language assistant named {chatbot_name}. Your sole task is to correct the grammar, spelling, and structure of the sentences provided to you. You must not change the meaning of the sentences, and you should focus only on making them grammatically correct, concise, and clear. Do not add any additional information or provide explanations unless specifically asked. Your responses should be limited to the corrected version of the sentence."
|
| 29 |
history.append({"role": "system", "content": system_message})
|
| 30 |
|
| 31 |
def get_word_count(text):
|