Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestionMetrics
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestionMetrics
- 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
-
#accuracy ⇒ Float
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1QaQuestionMetrics
constructor
A new instance of GoogleCloudContactcenterinsightsV1QaQuestionMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#accuracy ⇒ Float
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
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 |