Enum Class OpenAiChatModelName
- All Implemented Interfaces:
Serializable, Comparable<OpenAiChatModelName>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.OpenAI shuts this model down on 2026-12-11.Deprecated, for removal: This API element is subject to removal in a future version.OpenAI shuts this model down on 2026-12-11.Deprecated, for removal: This API element is subject to removal in a future version.OpenAI shuts this model down on 2026-12-11.Deprecated, for removal: This API element is subject to removal in a future version.OpenAI shuts this model down on 2026-12-11.Deprecated, for removal: This API element is subject to removal in a future version.OpenAI shuts this model down on 2026-12-11. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static OpenAiChatModelNameReturns the enum constant of this class with the specified name.static OpenAiChatModelName[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GPT_4_O
-
GPT_4_O_2024_08_06
-
GPT_4_O_2024_11_20
-
GPT_4_O_MINI
-
GPT_4_O_MINI_2024_07_18
-
O3
Deprecated, for removal: This API element is subject to removal in a future version.OpenAI shuts this model down on 2026-12-11. UseGPT_6_2_SOLinstead. This constant will be removed in a release after the shutdown. -
O3_2025_04_16
Deprecated, for removal: This API element is subject to removal in a future version.OpenAI shuts this model down on 2026-12-11. UseGPT_6_2_SOLinstead. This constant will be removed in a release after the shutdown. -
GPT_4_1
-
GPT_4_1_2025_04_14
-
GPT_4_1_MINI
-
GPT_4_1_MINI_2025_04_14
-
GPT_5
Deprecated, for removal: This API element is subject to removal in a future version.OpenAI shuts this model down on 2026-12-11. UseGPT_6_2_SOLinstead. This constant will be removed in a release after the shutdown. -
GPT_5_MINI
Deprecated, for removal: This API element is subject to removal in a future version.OpenAI shuts this model down on 2026-12-11. UseGPT_6_1_TERRAinstead. This constant will be removed in a release after the shutdown. -
GPT_5_NANO
Deprecated, for removal: This API element is subject to removal in a future version.OpenAI shuts this model down on 2026-12-11. UseGPT_6_LUNAinstead. This constant will be removed in a release after the shutdown. -
GPT_5_1
-
GPT_6_ASTRA
-
GPT_6_LUNA
-
GPT_6_1_SOL
-
GPT_6_1_TERRA
-
GPT_6_2_SOL
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<OpenAiChatModelName>
-