Interface EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholdsOrBuilder (0.1.0)

public static interface EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholdsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOverallToolInvocationCorrectnessThreshold()

public abstract float getOverallToolInvocationCorrectnessThreshold()

Optional. The success threshold for overall tool invocation correctness. Must be a float between 0 and 1. Default is 1.0.

optional float overall_tool_invocation_correctness_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The overallToolInvocationCorrectnessThreshold.

getSemanticSimilarityChannel()

public abstract EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannel getSemanticSimilarityChannel()

Optional. The semantic similarity channel to use for evaluation.

.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannel semantic_similarity_channel = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannel

The semanticSimilarityChannel.

getSemanticSimilarityChannelValue()

public abstract int getSemanticSimilarityChannelValue()

Optional. The semantic similarity channel to use for evaluation.

.google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds.TurnLevelMetricsThresholds.SemanticSimilarityChannel semantic_similarity_channel = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for semanticSimilarityChannel.

getSemanticSimilaritySuccessThreshold()

public abstract int getSemanticSimilaritySuccessThreshold()

Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is >= 3.

optional int32 semantic_similarity_success_threshold = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The semanticSimilaritySuccessThreshold.

hasOverallToolInvocationCorrectnessThreshold()

public abstract boolean hasOverallToolInvocationCorrectnessThreshold()

Optional. The success threshold for overall tool invocation correctness. Must be a float between 0 and 1. Default is 1.0.

optional float overall_tool_invocation_correctness_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the overallToolInvocationCorrectnessThreshold field is set.

hasSemanticSimilaritySuccessThreshold()

public abstract boolean hasSemanticSimilaritySuccessThreshold()

Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is >= 3.

optional int32 semantic_similarity_success_threshold = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the semanticSimilaritySuccessThreshold field is set.