Skip to content

Commit 839e9c3

Browse files
committed
New gpt-3.5-turbo and gpt-4 models for the snapshot 0613 added. Old models deprecated.
1 parent 8e1db14 commit 839e9c3

File tree

1 file changed

+19
-4
lines changed
  • openai-core/src/main/scala/io/cequence/openaiscala/domain

1 file changed

+19
-4
lines changed

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

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ object ModelId {
6363
val davinci_search_query = "davinci-search-query"
6464
val davinci_similarity = "davinci-similarity"
6565
val davinci_2020_05_03 = "davinci:2020-05-03"
66+
@Deprecated
67+
val code_davinci_001 = "code-davinci-001"
68+
@Deprecated
6669
val code_davinci_002 = "code-davinci-002"
6770
val code_davinci_edit_001 = "code-davinci-edit-001"
6871
val if_davinci_v2 = "if-davinci-v2"
@@ -89,16 +92,28 @@ object ModelId {
8992
val whisper_1_2 = "whisper-1.2"
9093

9194
// 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"
95+
val gpt_3_5_turbo = "gpt-3.5-turbo" // 4k context, uses the version 0301 till June 27th, then 0613
96+
@Deprecated // supported till 09/13/2023
97+
val gpt_3_5_turbo_0301 = "gpt-3.5-turbo-0301" // 4k context (March 1st snapshot)
98+
val gpt_3_5_turbo_0613 = "gpt-3.5-turbo-0613" // 4k context (June 13th snapshot), fine-tuned for function calling
99+
val gpt_3_5_turbo_16k = "gpt-3.5-turbo-16k" // 16k context
100+
val gpt_3_5_turbo_16k_0613 = "gpt-3.5-turbo-16k-0613" // 16k context (June 13th snapshot), fine-tuned for function calling
94101

95102
// GPT-4
96-
val gpt_4 = "gpt-4" // 8k context
103+
val gpt_4 = "gpt-4" // 8k context, uses the version 0301 till June 27th, then 0613
104+
@Deprecated // supported till 09/13/2023
97105
val gpt_4_0314 = "gpt-4-0314" // 8k context (March 14th snapshot)
98-
val gpt_4_32k = "gpt-4-32k" // 32k context
106+
val gpt_4_0613 = "gpt-4-0613" // 8k context (June 13th snapshot), fine-tuned for function calling
107+
108+
val gpt_4_32k = "gpt-4-32k" // 32k context, uses the version 0314 till June 27th, then 0613
109+
@Deprecated // supported till 09/13/2023
99110
val gpt_4_32k_0314 = "gpt-4-32k-0314" // 32k context (March 14th snapshot)
111+
val gpt_4_32k_0613 = "gpt-4-32k-0613" // 32k context (June 13th snapshot), fine-tuned for function calling
100112

101113
// Other
114+
@Deprecated
102115
val code_cushman_001 = "code-cushman-001"
116+
@Deprecated
117+
val code_cushman_002 = "code-cushman-002"
103118
val cushman_2020_05_03 = "cushman:2020-05-03"
104119
}

0 commit comments

Comments
 (0)