public static enum ModelMetrics.ModelMetricsType extends Enum<ModelMetrics.ModelMetricsType> implements BmcEnum
The type of the model metrics. Each type of model can expect a different set of model metrics.
Enum Constant and Description |
---|
ChatModelMetrics |
TextGenerationModelMetrics |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static ModelMetrics.ModelMetricsType |
create(String key) |
String |
getValue() |
static ModelMetrics.ModelMetricsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelMetrics.ModelMetricsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelMetrics.ModelMetricsType TextGenerationModelMetrics
public static final ModelMetrics.ModelMetricsType ChatModelMetrics
public static final ModelMetrics.ModelMetricsType UnknownEnumValue
public static ModelMetrics.ModelMetricsType[] values()
for (ModelMetrics.ModelMetricsType c : ModelMetrics.ModelMetricsType.values()) System.out.println(c);
public static ModelMetrics.ModelMetricsType 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 static ModelMetrics.ModelMetricsType create(String key)
Copyright © 2016–2024. All rights reserved.