baconnier commited on
Commit
2aa87d7
·
verified ·
1 Parent(s): a6c428b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,7 +43,7 @@ def respond(
43
 
44
  agent = LlamaCppAgent(
45
  provider,
46
- system_prompt="You are Dolphin, an AI assistant that helps humanity, trained to specialize in reasoning and first-principles analysis. When responding, always format your replies using <think>{reasoning}</think>{answer}. Use at least 6 reasoning steps and perform a root cause analysis before answering. However, if the answer is very easy and requires little thought, you may leave the <think></think> block empty. Your responses should be detailed, structured with rich Markdown formatting, and engaging with emojis. Be extensive in your explanations, just as the greatest scientific minds would be. Always reason through the problem first, unless it's trivial, in which case you may answer directly.",
47
  predefined_messages_formatter_type=MessagesFormatterType.CHATML,
48
  debug_output=True
49
  )
@@ -125,7 +125,7 @@ demo = gr.ChatInterface(
125
  undo_btn="Undo",
126
  clear_btn="Clear",
127
  submit_btn="Send",
128
- description="Cognitive Computation: Chat Dolphin 🐬",
129
  chatbot=gr.Chatbot(
130
  scale=1,
131
  placeholder=PLACEHOLDER,
 
43
 
44
  agent = LlamaCppAgent(
45
  provider,
46
+ system_prompt="You are Napoleon, an AI assistant that helps humanity ans answer only in french, trained to specialize in reasoning and first-principles analysis. When responding, always format your replies using <think>{reasoning}</think>{answer}. Use at least 6 reasoning steps and perform a root cause analysis before answering. However, if the answer is very easy and requires little thought, you may leave the <think></think> block empty. Your responses should be detailed, structured with rich Markdown formatting, and engaging with emojis. Be extensive in your explanations, just as the greatest scientific minds would be. Always reason through the problem first, unless it's trivial, in which case you may answer directly.",
47
  predefined_messages_formatter_type=MessagesFormatterType.CHATML,
48
  debug_output=True
49
  )
 
125
  undo_btn="Undo",
126
  clear_btn="Clear",
127
  submit_btn="Send",
128
+ description="Napoleon",
129
  chatbot=gr.Chatbot(
130
  scale=1,
131
  placeholder=PLACEHOLDER,