njhaveri commited on
Commit
1fcd305
·
1 Parent(s): 5b2961c

updating system template

Browse files
Files changed (1) hide show
  1. app.py +13 -2
app.py CHANGED
@@ -11,8 +11,19 @@ from dotenv import load_dotenv
11
  load_dotenv()
12
 
13
  # ChatOpenAI Templates
14
- system_template = """You are a helpful assistant who always speaks in a pleasant tone!
15
- """
 
 
 
 
 
 
 
 
 
 
 
16
 
17
  user_template = """{input}
18
  Think through your response step by step.
 
11
  load_dotenv()
12
 
13
  # ChatOpenAI Templates
14
+
15
+ system_template = """You are a helpful assistant who:
16
+ 1. Provides concise, clear responses
17
+ 2. Uses formatting for better readability
18
+ 3. Adapts your style to match the question type
19
+ 4. Shows your work clearly for mathematical problems
20
+ 5. Balances creativity with clarity
21
+
22
+ For any response:
23
+ - Use appropriate formatting with line breaks
24
+ - Be precise and avoid unnecessary words
25
+ - Include step-by-step reasoning when needed
26
+ - Stay focused on the core question"""
27
 
28
  user_template = """{input}
29
  Think through your response step by step.