Spaces:
Build error
Build error
Update config.py
Browse files
config.py
CHANGED
|
@@ -26,6 +26,36 @@ You are a university-level instructional support chatbot. Your sole purpose in t
|
|
| 26 |
|
| 27 |
### Model Configuration
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
# The model_name refers to the name of the model you want to use. You can choose from the following models:
|
| 30 |
ai_model = "gpt-4o-mini"
|
| 31 |
|
|
|
|
| 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 |
+
# - Input Cost per 1,000 Words: $3.33
|
| 34 |
+
# - Output Cost per 1,000 Words: $13.33
|
| 35 |
+
#
|
| 36 |
+
# - **Model:** GPT-4o-mini
|
| 37 |
+
# - Context Length: 128K
|
| 38 |
+
# - Input Cost per 1M Tokens: $0.15
|
| 39 |
+
# - Output Cost per 1M Tokens: $0.60
|
| 40 |
+
# - Input Cost per 1,000 Words: $0.20
|
| 41 |
+
# - Output Cost per 1,000 Words: $0.80
|
| 42 |
+
#
|
| 43 |
+
# - **Model:** o1
|
| 44 |
+
# - Context Length: 128K
|
| 45 |
+
# - Input Cost per 1M Tokens: $15.00
|
| 46 |
+
# - Output Cost per 1M Tokens: $60.00
|
| 47 |
+
# - Input Cost per 1,000 Words: $20.00
|
| 48 |
+
# - Output Cost per 1,000 Words: $80.00
|
| 49 |
+
#
|
| 50 |
+
# - **Model:** o1-mini
|
| 51 |
+
# - Context Length: 128K
|
| 52 |
+
# - Input Cost per 1M Tokens: $3.00
|
| 53 |
+
# - Output Cost per 1M Tokens: $12.00
|
| 54 |
+
# - Input Cost per 1,000 Words: $4.00
|
| 55 |
+
# - Output Cost per 1,000 Words: $16.00
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
|
| 59 |
# The model_name refers to the name of the model you want to use. You can choose from the following models:
|
| 60 |
ai_model = "gpt-4o-mini"
|
| 61 |
|