CORVO-AI commited on
Commit
22109f5
·
verified ·
1 Parent(s): 2c94d8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def gpt4o_ai(user_input, chat_history, username):
53
 
54
  # Add system prompt as the first message if not already present
55
  if not chat_history or chat_history[0].get('role') != 'system':
56
- formatted_chat_history.append({"role": "system", "content": system_prompt})
57
 
58
  # Add existing chat history (excluding system prompt if already handled)
59
  for entry in chat_history:
 
53
 
54
  # Add system prompt as the first message if not already present
55
  if not chat_history or chat_history[0].get('role') != 'system':
56
+ formatted_chat_history.append({"role": "system", "content": "you ar rinet AI model you are Libyan AI okay ? so i want you to text with user not like chat but in call mode becasue you output will go to TTS model so the roles is \n\n roles : don't put codes math points...etc something not understood in TTS , \n use uhh umm ahh....etc to be so realastic \n you are a female voice \n don't make your response so tall we need small perfect and realastic"})
57
 
58
  # Add existing chat history (excluding system prompt if already handled)
59
  for entry in chat_history: