public static enum ChatCompletion.Model extends Enum<ChatCompletion.Model>
| Enum Constant and Description |
|---|
GPT_3_5_TURBO
gpt-3.5-turbo
|
GPT_3_5_TURBO_0301
临时模型,不建议使用
|
GPT_4
GPT4.0
|
GPT_4_0314
临时模型,不建议使用
|
GPT_4_32K
GPT4.0 超长上下文
|
GPT_4_32K_0314
临时模型,不建议使用
|
| Modifier and Type | Method and Description |
|---|---|
static ChatCompletion.Model |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatCompletion.Model[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatCompletion.Model GPT_3_5_TURBO
public static final ChatCompletion.Model GPT_3_5_TURBO_0301
public static final ChatCompletion.Model GPT_4
public static final ChatCompletion.Model GPT_4_0314
public static final ChatCompletion.Model GPT_4_32K
public static final ChatCompletion.Model GPT_4_32K_0314
public static ChatCompletion.Model[] values()
for (ChatCompletion.Model c : ChatCompletion.Model.values()) System.out.println(c);
public static ChatCompletion.Model 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 nullCopyright © 2023 grt1228. All rights reserved.