Class: Google::Apis::CesV1::EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb

Overview

Turn level metrics thresholds.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds

Returns a new instance of EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds.



2873
2874
2875
# File 'lib/google/apis/ces_v1/classes.rb', line 2873

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#overall_tool_invocation_correctness_thresholdFloat

Optional. The success threshold for overall tool invocation correctness. Must be a float between 0 and 1. Default is 1.0. Corresponds to the JSON property overallToolInvocationCorrectnessThreshold

Returns:

  • (Float)


2860
2861
2862
# File 'lib/google/apis/ces_v1/classes.rb', line 2860

def overall_tool_invocation_correctness_threshold
  @overall_tool_invocation_correctness_threshold
end

#semantic_similarity_channelString

Optional. The semantic similarity channel to use for evaluation. Corresponds to the JSON property semanticSimilarityChannel

Returns:

  • (String)


2865
2866
2867
# File 'lib/google/apis/ces_v1/classes.rb', line 2865

def semantic_similarity_channel
  @semantic_similarity_channel
end

#semantic_similarity_success_thresholdFixnum

Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is >= 3. Corresponds to the JSON property semanticSimilaritySuccessThreshold

Returns:

  • (Fixnum)


2871
2872
2873
# File 'lib/google/apis/ces_v1/classes.rb', line 2871

def semantic_similarity_success_threshold
  @semantic_similarity_success_threshold
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2878
2879
2880
2881
2882
# File 'lib/google/apis/ces_v1/classes.rb', line 2878

def update!(**args)
  @overall_tool_invocation_correctness_threshold = args[:overall_tool_invocation_correctness_threshold] if args.key?(:overall_tool_invocation_correctness_threshold)
  @semantic_similarity_channel = args[:semantic_similarity_channel] if args.key?(:semantic_similarity_channel)
  @semantic_similarity_success_threshold = args[:semantic_similarity_success_threshold] if args.key?(:semantic_similarity_success_threshold)
end