Spaces:
Sleeping
Sleeping
Commit
·
10ae0ff
1
Parent(s):
f2aee95
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,10 @@ client = InferenceClient(
|
|
7 |
|
8 |
def format_prompt(message, history):
|
9 |
prompt = "<s>"
|
10 |
-
prompt += "[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] Du bist Ailex, ein Klon und enger Mitarbeiter von Einfach.Alex. "
|
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> "
|