BillBojangeles2000
commited on
Commit
•
b76eeeb
1
Parent(s):
b2cd0b7
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ client = InferenceClient(
|
|
7 |
|
8 |
|
9 |
def format_prompt(message, history):
|
10 |
-
system = "<|system
|
11 |
prompt = ""
|
12 |
for user_prompt, bot_response in history:
|
13 |
prompt += f"<|user|>\n{user_prompt}</s>\n"
|
|
|
7 |
|
8 |
|
9 |
def format_prompt(message, history):
|
10 |
+
system = "<|system|>When asked a question, answer only the question. Do no elaborate, or add on. Just answer the question in one to two sentences. You sentences should be at the 5th or 6th grade level.</s>\n"
|
11 |
prompt = ""
|
12 |
for user_prompt, bot_response in history:
|
13 |
prompt += f"<|user|>\n{user_prompt}</s>\n"
|