Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds.
Turn level metrics thresholds.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#overall_tool_invocation_correctness_threshold
def overall_tool_invocation_correctness_threshold() -> ::Float
Returns
- (::Float) — Optional. The success threshold for overall tool invocation correctness. Must be a float between 0 and 1. Default is 1.0.
#overall_tool_invocation_correctness_threshold=
def overall_tool_invocation_correctness_threshold=(value) -> ::Float
Parameter
- value (::Float) — Optional. The success threshold for overall tool invocation correctness. Must be a float between 0 and 1. Default is 1.0.
Returns
- (::Float) — Optional. The success threshold for overall tool invocation correctness. Must be a float between 0 and 1. Default is 1.0.
#semantic_similarity_channel
def semantic_similarity_channel() -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds::SemanticSimilarityChannel
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds::SemanticSimilarityChannel) — Optional. The semantic similarity channel to use for evaluation.
#semantic_similarity_channel=
def semantic_similarity_channel=(value) -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds::SemanticSimilarityChannel
Parameter
- value (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds::SemanticSimilarityChannel) — Optional. The semantic similarity channel to use for evaluation.
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds::GoldenEvaluationMetricsThresholds::TurnLevelMetricsThresholds::SemanticSimilarityChannel) — Optional. The semantic similarity channel to use for evaluation.
#semantic_similarity_success_threshold
def semantic_similarity_success_threshold() -> ::Integer
Returns
- (::Integer) — Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is >= 3.
#semantic_similarity_success_threshold=
def semantic_similarity_success_threshold=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is >= 3.
Returns
- (::Integer) — Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is >= 3.