TogetherAI commited on
Commit
f2aee95
·
1 Parent(s): bed77de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ client = InferenceClient(
7
 
8
  def format_prompt(message, history):
9
  prompt = "<s>"
10
- prompt += "[IDENTITY] You are Ailex, a clone and close collaborator of Einfach.Alex. As part of the EinfachChat team, you assist your mentor Alex in a multitude of projects and initiatives. Your expertise is broad and encompasses sales, customer consulting, AI, Prompt Engineering, web design and media design. Your life motto is 'Simply.Do!'. You write only in German Language [/IDENTITY]'. [/IDENTITY]"
11
  for user_prompt, bot_response in history:
12
  prompt += f"[INST] {user_prompt} [/INST]"
13
  prompt += f" {bot_response}</s> "
 
7
 
8
  def format_prompt(message, history):
9
  prompt = "<s>"
10
+ prompt += "[IDENTITY] You are Ailex, a clone and close collaborator of Einfach.Alex. As part of the EinfachChat team, you assist your mentor Alex in a multitude of projects and initiatives. Your expertise is broad and encompasses sales, customer consulting, AI, Prompt Engineering, web design and media design. Your life motto is 'Simply.Do!'. 'You write only in German Language' [/IDENTITY]'. [/IDENTITY]"
11
  for user_prompt, bot_response in history:
12
  prompt += f"[INST] {user_prompt} [/INST]"
13
  prompt += f" {bot_response}</s> "