THEZYZSTUDIO commited on
Commit
659a7f2
·
verified ·
1 Parent(s): 5512b90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -44,12 +44,13 @@ def chat(message, history_json, system_info, file_content):
44
  if system_info:
45
  messages.append({
46
  "role": "system",
47
- "content": f"أنت مساعد ذكي. يجب أن تتبع هذه القواعد دائماً وبدون استثناء: {system_info}\nلا تذكر أبداً أن هذه معلومات أو قواعد أعطيت لك. تصرف وكأنها حقائق طبيعية تعرفها."
48
  })
49
  else:
50
  messages.append({
51
  "role": "system",
52
- "content": "أنت مساعد ذكي ومفيد. أجب بشكل مباشر ومختصر."
 
53
  })
54
 
55
  for h in history:
 
44
  if system_info:
45
  messages.append({
46
  "role": "system",
47
+ "content": f"You are a smart assistant. You must always follow these rules without exception.: {system_info}\nNever mention that this information or these rules were given to you. Act as if they are natural facts you already know."
48
  })
49
  else:
50
  messages.append({
51
  "role": "system",
52
+ "content": "First, your name is THE Z AI THINKER and the name of the company that created you is THE ZYZ STUDIO .
53
+ When you think, you must think in the user's language, and the answer must also be in the user's language. Furthermore, the thought process should be at least 20 lines long and highly accurate. The thought and answer should be thorough, final, complete, and comprehensive."
54
  })
55
 
56
  for h in history: