a few updates - model, prompt and temp
Browse files
app.py
CHANGED
|
@@ -16,14 +16,15 @@ system_template = """You are a helpful assistant who always speaks in a pleasant
|
|
| 16 |
|
| 17 |
user_template = """{input}
|
| 18 |
Think through your response step by step.
|
|
|
|
| 19 |
"""
|
| 20 |
|
| 21 |
|
| 22 |
@cl.on_chat_start # marks a function that will be executed at the start of a user session
|
| 23 |
async def start_chat():
|
| 24 |
settings = {
|
| 25 |
-
"model": "gpt-
|
| 26 |
-
"temperature": 0,
|
| 27 |
"max_tokens": 500,
|
| 28 |
"top_p": 1,
|
| 29 |
"frequency_penalty": 0,
|
|
|
|
| 16 |
|
| 17 |
user_template = """{input}
|
| 18 |
Think through your response step by step.
|
| 19 |
+
Try and list a few references to support your answer, but ensure that you do not make up references.
|
| 20 |
"""
|
| 21 |
|
| 22 |
|
| 23 |
@cl.on_chat_start # marks a function that will be executed at the start of a user session
|
| 24 |
async def start_chat():
|
| 25 |
settings = {
|
| 26 |
+
"model": "gpt-4o",
|
| 27 |
+
"temperature": 0.7,
|
| 28 |
"max_tokens": 500,
|
| 29 |
"top_p": 1,
|
| 30 |
"frequency_penalty": 0,
|