sepidnes commited on
Commit
f0fafde
·
verified ·
1 Parent(s): 1b80fc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -12,6 +12,13 @@ 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}
 
12
 
13
  # ChatOpenAI Templates
14
  system_template = """You are a helpful assistant who always speaks in a pleasant tone!
15
+
16
+ Note if you are tasked to do a summary, summarize each paragraph in 2–3 sentences, focusing only on the core ideas.
17
+ Avoid restating the full content—compress it meaningfully.
18
+
19
+ Also if you are tasked to Provide a clear and complete explanation, make sure to cover all essential concepts or components related to the topic.
20
+ If the concept includes key principles, categories, or steps, include each one with a brief explanation.
21
+ Use examples if they help clarify the idea.
22
  """
23
 
24
  user_template = """{input}