Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6e289c5

Browse files
add new chat models from January 25th
1 parent 274d955 commit 6e289c5

File tree

1 file changed

+26
-1
lines changed
  • src/main/kotlin/com/cjcrafter/openai

1 file changed

+26
-1
lines changed

‎src/main/kotlin/com/cjcrafter/openai/Models.kt

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,19 @@ object Models {
3030
// GPT 4.0 //
3131
/////////////////////////////////////////////////////
3232

33+
/**
34+
* `gpt-4` Turbo. Has a context window of 128,000 tokens with training
35+
* data up to April 2023. This model is intended to reduce "laziness"
36+
* where the model doesn't complete the task. Returns a maximum of 4,096
37+
* output tokens.
38+
*/
39+
const val GPT_4_0125_PREVIEW = "gpt-4-0125-preview"
40+
41+
/**
42+
* Points to the currently supported version of `gpt-4` turbo.
43+
*/
44+
const val GPT_4_TURBO_PREVIEW = "gpt-4-turbo-preview"
45+
3346
/**
3447
* `gpt-4` Turbo. Has a context window of 128,000 tokens with training
3548
* data up to April 2023. This model has improved instruction following,
@@ -38,12 +51,18 @@ object Models {
3851
*/
3952
const val GPT_4_1106_PREVIEW = "gpt-4-1106-preview"
4053

54+
/**
55+
* Points to the currently supported version of `gpt-4` turbo with
56+
* vision.
57+
*/
58+
const val GPT_4_VISION_PREVIEW = "gpt-4-vision-preview"
59+
4160
/**
4261
* `gpt-4` Turbo with vision. Has a context window of 128,000 tokens with
4362
* training data up to April 2023. Has the same capabilities as
4463
* [GPT_4_1106_PREVIEW], but can also understand images.
4564
*/
46-
const val GPT_4_VISION_PREVIEW = "gpt-4-vision-preview"
65+
const val GPT_4_1106_VISION_PREVIEW = "gpt-4-1106-vision-preview"
4766

4867
/**
4968
* Points to the currently supported version of `gpt-4`.
@@ -103,6 +122,12 @@ object Models {
103122
// GPT 3.5 //
104123
/////////////////////////////////////////////////////
105124

125+
/**
126+
* Snapshot of `gpt-3.5-turbo` with higher accuracy in responding in
127+
* requested formats. Returns a maximum of 4,096 output tokens.
128+
*/
129+
const val GPT_3_5_TURBO_0125 = "gpt-3.5-turbo-0125"
130+
106131
/**
107132
* Has a context window of 16,385 tokens with training data up to
108133
* September 2021. This model has improved instruction following, JSON

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /