Package xyz.felh.openai.completion.chat
Enum Class ChatCompletion.Model
- All Implemented Interfaces:
Serializable,Comparable<ChatCompletion.Model>,Constable
- Enclosing class:
- ChatCompletion
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiongpt-3.5-turbo临时模型,不建议使用gpt-3.5-turbo-0613, On June 27th, the stable gpt-3.5-turbo will be automatically upgraded to this new versiongpt-3.5-turbo-16kGPT4.0临时模型,不建议使用GPT4.0 超长上下文临时模型,不建议使用 -
Method Summary
Modifier and TypeMethodDescriptionstatic ChatCompletion.ModelReturns the enum constant of this class with the specified name.static ChatCompletion.Model[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GPT_3_5_TURBO
gpt-3.5-turbo -
GPT_3_5_TURBO_0301
临时模型,不建议使用 -
GPT_3_5_TURBO_0613
gpt-3.5-turbo-0613, On June 27th, the stable gpt-3.5-turbo will be automatically upgraded to this new version -
GPT_3_5_TURBO_16K
gpt-3.5-turbo-16k -
GPT_4
GPT4.0 -
GPT_4_0314
临时模型,不建议使用 -
GPT_4_32K
GPT4.0 超长上下文 -
GPT_4_32K_0314
临时模型,不建议使用
-
-
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
-