Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::Evaluation::GoldenTurn.
A golden turn defines a single turn in a golden conversation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#hallucination_metric_behavior_override
def hallucination_metric_behavior_override() -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior) — Optional. Override for turn-level hallucination metric behavior.
#hallucination_metric_behavior_override=
def hallucination_metric_behavior_override=(value) -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior
Parameter
- value (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior) — Optional. Override for turn-level hallucination metric behavior.
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::HallucinationMetricBehavior) — Optional. Override for turn-level hallucination metric behavior.
#root_span
def root_span() -> ::Google::Cloud::Ces::V1beta::Span
Returns
- (::Google::Cloud::Ces::V1beta::Span) — Optional. The root span of the golden turn for processing and maintaining audio information. The uri for the audio must contain audio saved in 16Khz sample rate.
#root_span=
def root_span=(value) -> ::Google::Cloud::Ces::V1beta::Span
Parameter
- value (::Google::Cloud::Ces::V1beta::Span) — Optional. The root span of the golden turn for processing and maintaining audio information. The uri for the audio must contain audio saved in 16Khz sample rate.
Returns
- (::Google::Cloud::Ces::V1beta::Span) — Optional. The root span of the golden turn for processing and maintaining audio information. The uri for the audio must contain audio saved in 16Khz sample rate.
#steps
def steps() -> ::Array<::Google::Cloud::Ces::V1beta::Evaluation::Step>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::Evaluation::Step>) — Required. The steps required to replay a golden conversation.
#steps=
def steps=(value) -> ::Array<::Google::Cloud::Ces::V1beta::Evaluation::Step>
Parameter
- value (::Array<::Google::Cloud::Ces::V1beta::Evaluation::Step>) — Required. The steps required to replay a golden conversation.
Returns
- (::Array<::Google::Cloud::Ces::V1beta::Evaluation::Step>) — Required. The steps required to replay a golden conversation.
#turn_level_metrics_thresholds_override
def turn_level_metrics_thresholds_override() -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds) — Optional. Overrides for turn-level metric thresholds.
#turn_level_metrics_thresholds_override=
def turn_level_metrics_thresholds_override=(value) -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds
Parameter
- value (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds) — Optional. Overrides for turn-level metric thresholds.
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds) — Optional. Overrides for turn-level metric thresholds.