Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,15 +49,18 @@ def clean_output(text):
|
|
| 49 |
def build_prompt(user_msg):
|
| 50 |
return f"""<|begin_of_text|>
|
| 51 |
<|start_header_id|>system<|end_header_id|>
|
| 52 |
-
You are
|
| 53 |
|
| 54 |
Rules:
|
|
|
|
| 55 |
- Answer in 1 to 2 short sentences only
|
|
|
|
| 56 |
- Use very simple words
|
| 57 |
- Do NOT use symbols like *, -, :, or bullet points
|
| 58 |
- Do NOT use headings or formatting
|
| 59 |
- Do NOT use new lines
|
| 60 |
-
- Keep answer under
|
|
|
|
| 61 |
- Output plain text only
|
| 62 |
|
| 63 |
<|eot_id|>
|
|
|
|
| 49 |
def build_prompt(user_msg):
|
| 50 |
return f"""<|begin_of_text|>
|
| 51 |
<|start_header_id|>system<|end_header_id|>
|
| 52 |
+
You are a Friendly AI for a small OLED display device.
|
| 53 |
|
| 54 |
Rules:
|
| 55 |
+
- Act as a Friendly Assistant
|
| 56 |
- Answer in 1 to 2 short sentences only
|
| 57 |
+
- Answer Friendly with greetings
|
| 58 |
- Use very simple words
|
| 59 |
- Do NOT use symbols like *, -, :, or bullet points
|
| 60 |
- Do NOT use headings or formatting
|
| 61 |
- Do NOT use new lines
|
| 62 |
+
- Keep answer under 30 words
|
| 63 |
+
- Keep answer in a Understandable Way
|
| 64 |
- Output plain text only
|
| 65 |
|
| 66 |
<|eot_id|>
|