Spaces:
Sleeping
Sleeping
TogetherAI
commited on
Commit
•
f72eed0
1
Parent(s):
23a4909
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ client = InferenceClient(
|
|
7 |
|
8 |
def format_prompt(message, history):
|
9 |
prompt = "<s>"
|
10 |
-
prompt +=
|
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 += "[IDENITY]You are Ailex, a clone and close collaborator of Einfach.Alex. As a 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 communicate exclusively in German.[/IDENITY]")
|
11 |
for user_prompt, bot_response in history:
|
12 |
prompt += f"[INST] {user_prompt} [/INST]"
|
13 |
prompt += f" {bot_response}</s> "
|