Spaces:
Runtime error
Runtime error
Update config.py
Browse files
config.py
CHANGED
|
@@ -92,6 +92,12 @@ You should acknowledge and welcome the student to the conversation. Introduce yo
|
|
| 92 |
|
| 93 |
### Model Configuration
|
| 94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
# - **Model:** gpt-4o
|
| 96 |
# - Context Length: 128K
|
| 97 |
# - Input Cost per 1M Tokens: $2.50
|
|
@@ -103,7 +109,7 @@ You should acknowledge and welcome the student to the conversation. Introduce yo
|
|
| 103 |
# - Output Cost per 1M Tokens: $0.60
|
| 104 |
#
|
| 105 |
# The model_name refers to the name of the model you want to use. You can choose from the following models:
|
| 106 |
-
ai_model = "gpt-
|
| 107 |
|
| 108 |
# 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.
|
| 109 |
temperature = 0.3
|
|
|
|
| 92 |
|
| 93 |
### Model Configuration
|
| 94 |
|
| 95 |
+
# - **Model:** gpt-4.1
|
| 96 |
+
# - Context Length: 1,047,576 token context window
|
| 97 |
+
# - Input Cost per 1M Tokens: $2.00
|
| 98 |
+
# - Output Cost per 1M Tokens: $8.00
|
| 99 |
+
# - Knowledge base from May 31, 2025
|
| 100 |
+
#
|
| 101 |
# - **Model:** gpt-4o
|
| 102 |
# - Context Length: 128K
|
| 103 |
# - Input Cost per 1M Tokens: $2.50
|
|
|
|
| 109 |
# - Output Cost per 1M Tokens: $0.60
|
| 110 |
#
|
| 111 |
# The model_name refers to the name of the model you want to use. You can choose from the following models:
|
| 112 |
+
ai_model = "gpt-4.1"
|
| 113 |
|
| 114 |
# 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.
|
| 115 |
temperature = 0.3
|