Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds.
Threshold settings for metrics in an Evaluation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#golden_evaluation_metrics_thresholds
def golden_evaluation_metrics_thresholds() -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds) — Optional. The golden evaluation metrics thresholds.
#golden_evaluation_metrics_thresholds=
def golden_evaluation_metrics_thresholds=(value) -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds
Parameter
- value (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds) — Optional. The golden evaluation metrics thresholds.
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds) — Optional. The golden evaluation metrics thresholds.
#golden_hallucination_metric_behavior
def golden_hallucination_metric_behavior() -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior) — Optional. The hallucination metric behavior for golden evaluations.
#golden_hallucination_metric_behavior=
def golden_hallucination_metric_behavior=(value) -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior
Parameter
- value (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior) — Optional. The hallucination metric behavior for golden evaluations.
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior) — Optional. The hallucination metric behavior for golden evaluations.
#hallucination_metric_behavior
def hallucination_metric_behavior() -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior
Returns
-
(::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior) — Optional. Deprecated: Use
golden_hallucination_metric_behaviorinstead. The hallucination metric behavior is currently used for golden evaluations.
#hallucination_metric_behavior=
def hallucination_metric_behavior=(value) -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior
Parameter
-
value (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior) — Optional. Deprecated: Use
golden_hallucination_metric_behaviorinstead. The hallucination metric behavior is currently used for golden evaluations.
Returns
-
(::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior) — Optional. Deprecated: Use
golden_hallucination_metric_behaviorinstead. The hallucination metric behavior is currently used for golden evaluations.
#scenario_hallucination_metric_behavior
def scenario_hallucination_metric_behavior() -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior) — Optional. The hallucination metric behavior for scenario evaluations.
#scenario_hallucination_metric_behavior=
def scenario_hallucination_metric_behavior=(value) -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior
Parameter
- value (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior) — Optional. The hallucination metric behavior for scenario evaluations.
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior) — Optional. The hallucination metric behavior for scenario evaluations.