Skip to content

Commit 7396597

Browse files
youngmoneeemarkpollack
authored andcommitted
Update to add latest gpt-3.5 turbo model number
1 parent 7cc2eab commit 7396597

File tree

1 file changed

+11
-1
lines changed
  • models/spring-ai-openai/src/main/java/org/springframework/ai/openai/api

1 file changed

+11
-1
lines changed

models/spring-ai-openai/src/main/java/org/springframework/ai/openai/api/OpenAiApi.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,16 @@ public enum ChatModel {
165165
*/
166166
GPT_3_5_TURBO("gpt-3.5-turbo"),
167167

168+
/**
169+
* (new) The latest GPT-3.5 Turbo model with higher accuracy
170+
* at responding in requested formats and a fix for a bug
171+
* which caused a text encoding issue for non-English
172+
* language function calls.
173+
* Returns a maximum of 4,096
174+
* Context window: 16k tokens
175+
*/
176+
GPT_3_5_TURBO_0125("gpt-3.5-turbo-0125"),
177+
168178
/**
169179
* GPT-3.5 Turbo model with improved instruction following,
170180
* JSON mode, reproducible outputs, parallel function calling,
@@ -500,7 +510,7 @@ public enum ChatCompletionFinishReason {
500510
/**
501511
* Only for compatibility with Mistral AI API.
502512
*/
503-
@JsonProperty("tool_call") TOOL_CAL
513+
@JsonProperty("tool_call") TOOL_CALL
504514
}
505515

506516
/**

0 commit comments

Comments
 (0)