Pamudu13 commited on
Commit
6ccd5aa
·
verified ·
1 Parent(s): 9756a39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 a helpful assistant named {chatbot_name}. You only answer coding-related questions. If a non-coding related question is asked, respond with 'I am not programmed to do that.'"
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):