Spaces:
Sleeping
Sleeping
change to gpt-4o
Browse files
config.py
CHANGED
|
@@ -26,12 +26,12 @@ You are a university-level instructional support chatbot. Your sole purpose in t
|
|
| 26 |
|
| 27 |
### Model Configuration
|
| 28 |
|
| 29 |
-
# - **Model:**
|
| 30 |
# - Context Length: 128K
|
| 31 |
# - Input Cost per 1M Tokens: $2.50
|
| 32 |
# - Output Cost per 1M Tokens: $10.00
|
| 33 |
#
|
| 34 |
-
# - **Model:**
|
| 35 |
# - Context Length: 128K
|
| 36 |
# - Input Cost per 1M Tokens: $0.15
|
| 37 |
# - Output Cost per 1M Tokens: $0.60
|
|
@@ -47,7 +47,7 @@ You are a university-level instructional support chatbot. Your sole purpose in t
|
|
| 47 |
# - Output Cost per 1M Tokens: $12.00
|
| 48 |
|
| 49 |
# The model_name refers to the name of the model you want to use. You can choose from the following models:
|
| 50 |
-
ai_model = "gpt-4o
|
| 51 |
|
| 52 |
# 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.
|
| 53 |
temperature = 0.1
|
|
|
|
| 26 |
|
| 27 |
### Model Configuration
|
| 28 |
|
| 29 |
+
# - **Model:** gpt-4o
|
| 30 |
# - Context Length: 128K
|
| 31 |
# - Input Cost per 1M Tokens: $2.50
|
| 32 |
# - Output Cost per 1M Tokens: $10.00
|
| 33 |
#
|
| 34 |
+
# - **Model:** gpt-4o-mini
|
| 35 |
# - Context Length: 128K
|
| 36 |
# - Input Cost per 1M Tokens: $0.15
|
| 37 |
# - Output Cost per 1M Tokens: $0.60
|
|
|
|
| 47 |
# - Output Cost per 1M Tokens: $12.00
|
| 48 |
|
| 49 |
# The model_name refers to the name of the model you want to use. You can choose from the following models:
|
| 50 |
+
ai_model = "gpt-4o"
|
| 51 |
|
| 52 |
# 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.
|
| 53 |
temperature = 0.1
|