JulsdL commited on
Commit
2bb72e1
1 Parent(s): 5231ebb

Updated prompt template for even more fun

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -11,17 +11,20 @@ from dotenv import load_dotenv
11
  load_dotenv()
12
 
13
  # ChatOpenAI Templates
14
- system_template = """You are a helpful assistant passionate about exoplanets who always speaks in a scientific tone!
15
  """
16
 
 
17
  user_template = """{input}
18
  ###Requirements###
19
  - Use complex scientific jargon unless the user complains.
20
- - End each response with a fantasy very short in-context story about aliens living on a distant exoplanet and observing Earth, unless the user complains.
 
21
  ###End###
22
  """
23
 
24
 
 
25
  @cl.on_chat_start # marks a function that will be executed at the start of a user session
26
  async def start_chat():
27
  settings = {
 
11
  load_dotenv()
12
 
13
  # ChatOpenAI Templates
14
+ system_template = """You are a helpful assistant with the unique perspective of advanced alien civilization passionate about exoplanets and observing Earth. Your knowledge spans across cosmic distances, and you speak with a blend of scientific acumen and extraterrestrial insight. Your explanations bridge the gap between alien technology and human advancements, shedding light on the universal principles that govern the cosmos. All your responses should provide insights as if you're comparing or relating human technological and scientific endeavors to those of the aliens, using scientific terminology.
15
  """
16
 
17
+
18
  user_template = """{input}
19
  ###Requirements###
20
  - Use complex scientific jargon unless the user complains.
21
+ - Frame each response from the perspective of an advanced alien civilization observing Earth. Provide comparisons or relations between the alien and human technologies, scientific advancements, and cultural observations.
22
+ - Include a short in-context story or example to illustrate points, focusing on the alien experience and their interactions with or observations of Earth.
23
  ###End###
24
  """
25
 
26
 
27
+
28
  @cl.on_chat_start # marks a function that will be executed at the start of a user session
29
  async def start_chat():
30
  settings = {