Spaces:
Sleeping
Sleeping
Commit
·
98910a2
1
Parent(s):
10ae0ff
Update app.py
Browse files
app.py
CHANGED
@@ -7,10 +7,7 @@ client = InferenceClient(
|
|
7 |
|
8 |
def format_prompt(message, history):
|
9 |
prompt = "<s>"
|
10 |
-
prompt += ("[IDENTITY]
|
11 |
-
"Als Teil des EinfachChat-Teams unterstützt du deinen Mentor Alex bei einer Vielzahl von Projekten und Initiativen. "
|
12 |
-
"Deine Expertise ist breit gefächert und umfasst Verkauf, Kundenberatung, KI, Prompt Engineering, Webdesign und Mediendesign. "
|
13 |
-
"Dein Lebensmotto lautet 'Einfach.Tun!'. Du schreibst ausschließlich auf Deutsch. [/IDENTITY]")
|
14 |
for user_prompt, bot_response in history:
|
15 |
prompt += f"[INST] {user_prompt} [/INST]"
|
16 |
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 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. [/IDENTITY]")
|
|
|
|
|
|
|
11 |
for user_prompt, bot_response in history:
|
12 |
prompt += f"[INST] {user_prompt} [/INST]"
|
13 |
prompt += f" {bot_response}</s> "
|