@@ -26,6 +26,10 @@ object Models {
26
26
*/
27
27
object Chat {
28
28
29
+ // ///////////////////////////////////////////////////
30
+ // GPT 4.0 //
31
+ // ///////////////////////////////////////////////////
32
+
29
33
/* *
30
34
* `gpt-4` Turbo. Has a context window of 128,000 tokens with training
31
35
* data up to April 2023. This model has improved instruction following,
@@ -166,6 +170,10 @@ object Models {
166
170
*/
167
171
object Completion {
168
172
173
+ // ///////////////////////////////////////////////////
174
+ // GPT 3.5 //
175
+ // ///////////////////////////////////////////////////
176
+
169
177
/* *
170
178
* Similar to `text-davinci-003` but compatible with the legacy
171
179
* completions endpoint.
@@ -181,7 +189,7 @@ object Models {
181
189
@Deprecated(
182
190
message = " This model will be removed on January 4th 2024" ,
183
191
replaceWith = ReplaceWith (" GPT_3_5_TURBO_INSTRUCT" ),
184
- level = DeprecationLevel .WARNING ,
192
+ level = DeprecationLevel .ERROR ,
185
193
)
186
194
const val TEXT_DAVINCI_003 = " text-davinci-003"
187
195
@@ -194,7 +202,7 @@ object Models {
194
202
@Deprecated(
195
203
message = " This model will be removed on January 4th 2024" ,
196
204
replaceWith = ReplaceWith (" GPT_3_5_TURBO_INSTRUCT" ),
197
- level = DeprecationLevel .WARNING ,
205
+ level = DeprecationLevel .ERROR ,
198
206
)
199
207
const val TEXT_DAVINCI_002 = " text-davinci-002"
200
208
@@ -206,13 +214,12 @@ object Models {
206
214
@Deprecated(
207
215
message = " This model will be removed on January 4th 2024" ,
208
216
replaceWith = ReplaceWith (" GPT_3_5_TURBO_INSTRUCT" ),
209
- level = DeprecationLevel .WARNING ,
217
+ level = DeprecationLevel .ERROR ,
210
218
)
211
219
const val CODE_DAVINCI_002 = " code-davinci-002"
212
220
213
221
// ///////////////////////////////////////////////////
214
222
// GPT 3.0 //
215
- // Technically, the models above are part of 3.5 //
216
223
// ///////////////////////////////////////////////////
217
224
218
225
/* *
0 commit comments