Enum Class LLMModel

java.lang.Object
java.lang.Enum<LLMModel>
ai.optfor.springopenaiapi.enums.LLMModel
All Implemented Interfaces:
Serializable, Comparable<LLMModel>, Constable

public enum LLMModel extends Enum<LLMModel>
  • Enum Constant Details

    • GPT_4_TURBO_PREVIEW

      public static final LLMModel GPT_4_TURBO_PREVIEW
    • GPT_4

      public static final LLMModel GPT_4
    • GPT_3_5_TURBO

      public static final LLMModel GPT_3_5_TURBO
    • GPT_3_5_TURBO_16K

      public static final LLMModel GPT_3_5_TURBO_16K
  • Method Details

    • values

      public static LLMModel[] 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 LLMModel 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
    • apiValueOf

      public static LLMModel apiValueOf(String apiName)