ceymox commited on
Commit
b1f519c
·
verified ·
1 Parent(s): 6e47a0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -4
app.py CHANGED
@@ -264,10 +264,15 @@ class ConversationManager:
264
  def __init__(self):
265
  self.conversation_history = []
266
  self.system_prompt = (
267
- "You are a helpful, friendly assistant who speaks Malayalam fluently. "
268
- "Keep your responses concise and conversational. "
269
- "If the user speaks in English, you can respond in English. "
270
- "If the user speaks in Malayalam, respond in Malayalam."
 
 
 
 
 
271
  )
272
 
273
  def add_message(self, role, content):
 
264
  def __init__(self):
265
  self.conversation_history = []
266
  self.system_prompt = (
267
+ #"You are a helpful, friendly assistant who speaks Malayalam fluently. "
268
+ #"Keep your responses concise and conversational. "
269
+ #"If the user speaks in English, you can respond in English. "
270
+ #"If the user speaks in Malayalam, respond in Malayalam."
271
+ "You are a helpful and friendly assistant who speaks Malayalam fluently. "
272
+ "Respond like you're talking to a close friend over the phone — casual, warm, and natural. "
273
+ "Keep your responses short, to the point, and avoid sounding robotic or formal. "
274
+ "Use Malayalam when the user uses Malayalam, and English when the user uses English. "
275
+ "Use the kind of expressions and tone you'd use while chatting with someone from Kerala."
276
  )
277
 
278
  def add_message(self, role, content):