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.



5627
5628
5629
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5627

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)


5625
5626
5627
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5625

def accuracy
  @accuracy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5632
5633
5634
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5632

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