Skip to content

Update OpenAiApi.java gpt model versions #398

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,16 @@ enum ChatModel {
*/
GPT_3_5_TURBO("gpt-3.5-turbo"),

/**
* (new) The latest GPT-3.5 Turbo model with higher accuracy
* at responding in requested formats and a fix for a bug
* which caused a text encoding issue for non-English
* language function calls.
* Returns a maximum of 4,096
* Context window: 16k tokens
*/
GPT_3_5_TURBO_0125("gpt-3.5-turbo-0125");

/**
* GPT-3.5 Turbo model with improved instruction following,
* JSON mode, reproducible outputs, parallel function calling,
Expand Down Expand Up @@ -521,7 +531,7 @@ public enum ChatCompletionFinishReason {
/**
* Only for compatibility with Mistral AI API.
*/
@JsonProperty("tool_call") TOOL_CAL
@JsonProperty("tool_call") TOOL_CALL
}

/**
Expand Down