updating system template
Browse files
app.py
CHANGED
@@ -11,8 +11,19 @@ from dotenv import load_dotenv
|
|
11 |
load_dotenv()
|
12 |
|
13 |
# ChatOpenAI Templates
|
14 |
-
|
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.
|