Enum Class GenAISupportedModels.Family
- All Implemented Interfaces:
Serializable, Comparable<GenAISupportedModels.Family>, Constable
- Enclosing class:
GenAISupportedModels
Chat-capable (and Whisper) families tracked for Olive / OGA conversion.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAMD OLMo.ChatGLM / GLM.DeepSeek.ERNIE.Fara.Gemma.GPT-OSS.Granite.Granite MoE hybrid.Hunyuan.InternLM.LFM2.Llama.Mistral / Mixtral.Nemotron.Phi.Qwen.SmolLM.Whisper (speech; not chat-capable). -
Method Summary
Modifier and TypeMethodDescriptionbooleanisChat()Returns whether this family is suitable for chat completions.static GenAISupportedModels.FamilyReturns the enum constant of this class with the specified name.static GenAISupportedModels.Family[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AMD_OLMO
AMD OLMo. -
CHATGLM
ChatGLM / GLM. -
DEEPSEEK
DeepSeek. -
ERNIE
ERNIE. -
FARA
Fara. -
GEMMA
Gemma. -
GPT_OSS
GPT-OSS. -
GRANITE
Granite. -
GRANITE_MOE_HYBRID
Granite MoE hybrid. -
HUNYUAN
Hunyuan. -
INTERNLM2
InternLM. -
LFM2
LFM2. -
LLAMA
Llama. -
MISTRAL
Mistral / Mixtral. -
NEMOTRON
Nemotron. -
PHI
Phi. -
QWEN
Qwen. -
SMOLLM3
SmolLM. -
WHISPER
Whisper (speech; not chat-capable).
-
-
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
-
isChat
public boolean isChat()Returns whether this family is suitable for chat completions.- Returns:
truewhen suitable for/chat/completions.
-