Enum Class ChatCompletion.Model

java.lang.Object
java.lang.Enum<ChatCompletion.Model>
xyz.felh.openai.completion.chat.ChatCompletion.Model
All Implemented Interfaces:
Serializable, Comparable<ChatCompletion.Model>, Constable
Enclosing class:
ChatCompletion

public static enum ChatCompletion.Model extends Enum<ChatCompletion.Model>
  • Enum Constant Details

    • GPT_3_5_TURBO

      public static final ChatCompletion.Model GPT_3_5_TURBO
      gpt-3.5-turbo
    • GPT_3_5_TURBO_0301

      public static final ChatCompletion.Model GPT_3_5_TURBO_0301
      临时模型,不建议使用
    • GPT_3_5_TURBO_0613

      public static final ChatCompletion.Model 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

      public static final ChatCompletion.Model GPT_3_5_TURBO_16K
      gpt-3.5-turbo-16k
    • GPT_4

      public static final ChatCompletion.Model GPT_4
      GPT4.0
    • GPT_4_0314

      public static final ChatCompletion.Model GPT_4_0314
      临时模型,不建议使用
    • GPT_4_32K

      public static final ChatCompletion.Model GPT_4_32K
      GPT4.0 超长上下文
    • GPT_4_32K_0314

      public static final ChatCompletion.Model GPT_4_32K_0314
      临时模型,不建议使用
  • Method Details

    • values

      public static ChatCompletion.Model[] 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

      public static ChatCompletion.Model valueOf(String name)
      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 name
      NullPointerException - if the argument is null