Skip to content

Commit fc6db98

Browse files
committed
Adding GPT-4 models (with 8k and 32k context)
1 parent 15b53ce commit fc6db98

File tree

1 file changed

+10
-2
lines changed
  • openai-core/src/main/scala/io/cequence/openaiscala/domain

1 file changed

+10
-2
lines changed

openai-core/src/main/scala/io/cequence/openaiscala/domain/ModelId.scala

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,17 @@ object ModelId {
8888
val whisper_1 = "whisper-1"
8989
val whisper_1_2 = "whisper-1.2"
9090

91+
// GPT-3.5 (ChatGPT)
92+
val gpt_3_5_turbo = "gpt-3.5-turbo"
93+
val gpt_3_5_turbo_0301 = "gpt-3.5-turbo-0301"
94+
95+
// GPT-4
96+
val gpt_4 = "gpt-4" // 8k context
97+
val gpt_4_0314 = "gpt-4-0314" // 8k context (March 14th snapshot)
98+
val gpt_4_32k = "gpt-4-32k" // 32k context
99+
val gpt_4_32k_0314 = "gpt-4-32k-0314" // 32k context (March 14th snapshot)
100+
91101
// Other
92102
val code_cushman_001 = "code-cushman-001"
93103
val cushman_2020_05_03 = "cushman:2020-05-03"
94-
val gpt_3_5_turbo = "gpt-3.5-turbo"
95-
val gpt_3_5_turbo_0301 = "gpt-3.5-turbo-0301"
96104
}

0 commit comments

Comments
 (0)