Valtry commited on
Commit
4c45bc8
·
verified ·
1 Parent(s): 879454d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
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 an AI for a small OLED display device.
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 20 words
 
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|>