Spaces:
Sleeping
Sleeping
Update config.py
Browse files
config.py
CHANGED
|
@@ -127,13 +127,13 @@ You should acknowledge and welcome the student to the conversation. Address the
|
|
| 127 |
### Model Configuration
|
| 128 |
|
| 129 |
# The model_name refers to the name of the model you want to use. You can choose from the following models:
|
| 130 |
-
ai_model = "gpt-4o
|
| 131 |
|
| 132 |
# Temperature refers to the randomness/creativity of the responses. A higher temperature will result in more random/creative responses. It varies between 0 and 1.
|
| 133 |
-
temperature = 0.
|
| 134 |
|
| 135 |
# Max_tokens refers to the maximum number of tokens (words) the AI can generate. The higher the number, the longer the response. It varies between 1 and 2048.
|
| 136 |
-
max_tokens =
|
| 137 |
|
| 138 |
# Frequency penalty parameter for the response. Higher penalty will result in more diverse responses. It varies between 0 and 1.
|
| 139 |
frequency_penalty = 0.5
|
|
|
|
| 127 |
### Model Configuration
|
| 128 |
|
| 129 |
# The model_name refers to the name of the model you want to use. You can choose from the following models:
|
| 130 |
+
ai_model = "gpt-4o"
|
| 131 |
|
| 132 |
# Temperature refers to the randomness/creativity of the responses. A higher temperature will result in more random/creative responses. It varies between 0 and 1.
|
| 133 |
+
temperature = 0.3
|
| 134 |
|
| 135 |
# Max_tokens refers to the maximum number of tokens (words) the AI can generate. The higher the number, the longer the response. It varies between 1 and 2048.
|
| 136 |
+
max_tokens = 1000
|
| 137 |
|
| 138 |
# Frequency penalty parameter for the response. Higher penalty will result in more diverse responses. It varies between 0 and 1.
|
| 139 |
frequency_penalty = 0.5
|