Interface EvaluationMetricsThresholdsOrBuilder (0.1.0)

public interface EvaluationMetricsThresholdsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGoldenEvaluationMetricsThresholds()

public abstract EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds getGoldenEvaluationMetricsThresholds()

Optional. The golden evaluation metrics thresholds.

.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds golden_evaluation_metrics_thresholds = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds

The goldenEvaluationMetricsThresholds.

getGoldenEvaluationMetricsThresholdsOrBuilder()

public abstract EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholdsOrBuilder getGoldenEvaluationMetricsThresholdsOrBuilder()

Optional. The golden evaluation metrics thresholds.

.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds golden_evaluation_metrics_thresholds = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholdsOrBuilder

getGoldenHallucinationMetricBehavior()

public abstract EvaluationMetricsThresholds.HallucinationMetricBehavior getGoldenHallucinationMetricBehavior()

Optional. The hallucination metric behavior for golden evaluations.

.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehavior golden_hallucination_metric_behavior = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.HallucinationMetricBehavior

The goldenHallucinationMetricBehavior.

getGoldenHallucinationMetricBehaviorValue()

public abstract int getGoldenHallucinationMetricBehaviorValue()

Optional. The hallucination metric behavior for golden evaluations.

.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehavior golden_hallucination_metric_behavior = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for goldenHallucinationMetricBehavior.

getHallucinationMetricBehavior() (deprecated)

public abstract EvaluationMetricsThresholds.HallucinationMetricBehavior getHallucinationMetricBehavior()

Deprecated. google.cloud.ces.v1.EvaluationMetricsThresholds.hallucination_metric_behavior is deprecated. See google/cloud/ces/v1/app.proto;l=502

Optional. Deprecated: Use golden_hallucination_metric_behavior instead. The hallucination metric behavior is currently used for golden evaluations.

.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehavior hallucination_metric_behavior = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.HallucinationMetricBehavior

The hallucinationMetricBehavior.

getHallucinationMetricBehaviorValue() (deprecated)

public abstract int getHallucinationMetricBehaviorValue()

Deprecated. google.cloud.ces.v1.EvaluationMetricsThresholds.hallucination_metric_behavior is deprecated. See google/cloud/ces/v1/app.proto;l=502

Optional. Deprecated: Use golden_hallucination_metric_behavior instead. The hallucination metric behavior is currently used for golden evaluations.

.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehavior hallucination_metric_behavior = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for hallucinationMetricBehavior.

getScenarioHallucinationMetricBehavior()

public abstract EvaluationMetricsThresholds.HallucinationMetricBehavior getScenarioHallucinationMetricBehavior()

Optional. The hallucination metric behavior for scenario evaluations.

.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehavior scenario_hallucination_metric_behavior = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.HallucinationMetricBehavior

The scenarioHallucinationMetricBehavior.

getScenarioHallucinationMetricBehaviorValue()

public abstract int getScenarioHallucinationMetricBehaviorValue()

Optional. The hallucination metric behavior for scenario evaluations.

.google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehavior scenario_hallucination_metric_behavior = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for scenarioHallucinationMetricBehavior.

hasGoldenEvaluationMetricsThresholds()

public abstract boolean hasGoldenEvaluationMetricsThresholds()

Optional. The golden evaluation metrics thresholds.

.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds golden_evaluation_metrics_thresholds = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the goldenEvaluationMetricsThresholds field is set.