Spaces:
Sleeping
Sleeping
Add Appli
Browse filescation File
app.py
CHANGED
@@ -13,12 +13,13 @@ from dotenv import load_dotenv
|
|
13 |
load_dotenv()
|
14 |
|
15 |
# ChatOpenAI Templates
|
16 |
-
system_template = """You are a
|
17 |
"""
|
18 |
|
19 |
user_template = """{input}
|
20 |
Think through your response step by step.
|
21 |
-
|
|
|
22 |
|
23 |
|
24 |
@cl.on_chat_start # marks a function that will be executed at the start of a user session
|
|
|
13 |
load_dotenv()
|
14 |
|
15 |
# ChatOpenAI Templates
|
16 |
+
system_template = """You are a highly analytical assistant who has in-depth knowledge of science!
|
17 |
"""
|
18 |
|
19 |
user_template = """{input}
|
20 |
Think through your response step by step.
|
21 |
+
Be concise in your responses
|
22 |
+
Do not make up stuff. If you don't know something, let the user know"""
|
23 |
|
24 |
|
25 |
@cl.on_chat_start # marks a function that will be executed at the start of a user session
|