Enum Class Openai

java.lang.Object
java.lang.Enum<Openai>
com.cdkjframework.ai.enums.Openai
所有已实现的接口:
Serializable, Comparable<Openai>, Constable

public enum Openai extends Enum<Openai>
Openai 模型
  • 枚举常量详细资料

    • GPT_4_5_PREVIEW

      public static final Openai GPT_4_5_PREVIEW
      模型名称 gpt-4.5-preview
    • GPT_4O

      public static final Openai GPT_4O
      模型名称 gpt-4o
    • CHATGPT_4O_LATEST

      public static final Openai CHATGPT_4O_LATEST
      模型名称 gpt-4o-latest
    • GPT_4O_MINI

      public static final Openai GPT_4O_MINI
      模型名称 gpt-4o-mini
    • O1

      public static final Openai O1
      模型名称 o1
    • O1_MINI

      public static final Openai O1_MINI
    • O3_MINI

      public static final Openai O3_MINI
      模型名称 o3-mini
    • O1_PREVIEW

      public static final Openai O1_PREVIEW
      模型名称 o1-preview
    • GPT_4O_REALTIME_PREVIEW

      public static final Openai GPT_4O_REALTIME_PREVIEW
      模型名称 gpt-4o-realtime-preview
    • GPT_4O_MINI_REALTIME_PREVIEW

      public static final Openai GPT_4O_MINI_REALTIME_PREVIEW
      模型名称 gpt-4o-mini-realtime-preview
    • GPT_4O_AUDIO_PREVIEW

      public static final Openai GPT_4O_AUDIO_PREVIEW
      模型名称 gpt-4o-audio-preview
    • GPT_4O_MINI_AUDIO_PREVIEW

      public static final Openai GPT_4O_MINI_AUDIO_PREVIEW
      模型名称 gpt-4o-mini-audio-preview
    • GPT_4_TURBO

      public static final Openai GPT_4_TURBO
      模型名称 gpt-4-turbo
    • GPT_4_TURBO_PREVIEW

      public static final Openai GPT_4_TURBO_PREVIEW
      模型名称 gpt-4-turbo-preview
    • GPT_4

      public static final Openai GPT_4
      模型名称 gpt-4
    • GPT_3_5_TURBO_0125

      public static final Openai GPT_3_5_TURBO_0125
      模型名称 gpt-3.5-turbo-preview
    • GPT_3_5_TURBO

      public static final Openai GPT_3_5_TURBO
      模型名称 gpt-3.5-turbo
    • GPT_3_5_TURBO_1106

      public static final Openai GPT_3_5_TURBO_1106
      模型名称 gpt-3.5-turbo-1106
    • GPT_3_5_TURBO_INSTRUCT

      public static final Openai GPT_3_5_TURBO_INSTRUCT
      模型名称 gpt-3.5-turbo-instruct
    • DALL_E_3

      public static final Openai DALL_E_3
      模型名称 dall-e-3
    • DALL_E_2

      public static final Openai DALL_E_2
      模型名称 dall-e-2
    • TTS_1

      public static final Openai TTS_1
      模型名称 tts-1
    • TTS_1_HD

      public static final Openai TTS_1_HD
      模型名称 tts-1-hd
    • WHISPER_1

      public static final Openai WHISPER_1
      模型名称 whisper-1
    • TEXT_EMBEDDING_3_LARGE

      public static final Openai TEXT_EMBEDDING_3_LARGE
      模型名称 text-embedding-3-large
    • TEXT_EMBEDDING_3_SMALL

      public static final Openai TEXT_EMBEDDING_3_SMALL
      模型名称 text-embedding-3-small
    • TEXT_EMBEDDING_ADA_002

      public static final Openai TEXT_EMBEDDING_ADA_002
      模型名称 text-embedding-ada-002
    • OMNI_MODERATION_LATEST

      public static final Openai OMNI_MODERATION_LATEST
      模型名称 omni-moderation
    • OMNI_MODERATION_2024_09_26

      public static final Openai OMNI_MODERATION_2024_09_26
      模型名称 omni-moderation-2024-09-26
    • TEXT_MODERATION_LATEST

      public static final Openai TEXT_MODERATION_LATEST
      模型名称 text-moderation
    • TEXT_MODERATION_STABLE

      public static final Openai TEXT_MODERATION_STABLE
      模型名称 text-moderation-stable
    • TEXT_MODERATION_007

      public static final Openai TEXT_MODERATION_007
      模型名称 text-moderation-007
    • BABBAGE_002

      public static final Openai BABBAGE_002
      模型名称 babbage-002
    • DAVINCI_002

      public static final Openai DAVINCI_002
      模型名称 davinci-002
  • 方法详细资料

    • values

      public static Openai[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Openai 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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值