public enum ModelName extends Enum<ModelName>
Enum Constant and Description |
---|
DEEPSEEK
deepSeek
|
DOUBAO
doubao
|
GROK
grok
|
HUTOOL
hutool
|
OLLAMA
ollama
|
OPENAI
openai
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
获取值
|
static ModelName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelName HUTOOL
public static final ModelName DEEPSEEK
public static final ModelName OPENAI
public static final ModelName DOUBAO
public static final ModelName GROK
public static final ModelName OLLAMA
public static ModelName[] values()
for (ModelName c : ModelName.values()) System.out.println(c);
public static ModelName valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
Copyright © 2025. All rights reserved.