public enum Model extends Enum<Model>
| Enum Constant and Description |
|---|
GPT_3_5_TURBO |
GPT_4 |
TEXT_DAVINCI_003 |
TEXT_EMBEDDING_ADA_002 |
TEXT_MODERATION_LATEST |
TEXT_MODERATION_STABLE |
| Modifier and Type | Method and Description |
|---|---|
String |
stringValue() |
static Model |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Model[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model TEXT_DAVINCI_003
public static final Model GPT_3_5_TURBO
public static final Model GPT_4
public static final Model TEXT_EMBEDDING_ADA_002
public static final Model TEXT_MODERATION_STABLE
public static final Model TEXT_MODERATION_LATEST
public static Model[] values()
for (Model c : Model.values()) System.out.println(c);
public static 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 nullpublic String stringValue()
Copyright © 2023. All rights reserved.