Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestionMetrics

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

Overview

A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1QaQuestionMetrics

Returns a new instance of GoogleCloudContactcenterinsightsV1QaQuestionMetrics.



4426
4427
4428
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4426

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

Instance Attribute Details

#accuracyFloat

Output only. Accuracy of the model. Measures the percentage of correct answers the model gave on the test set. Corresponds to the JSON property accuracy

Returns:

  • (Float)


4424
4425
4426
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4424

def accuracy
  @accuracy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4431
4432
4433
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4431

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