Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FluencyInput
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FluencyInput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Input for fluency metric.
Instance Attribute Summary collapse
-
#instance ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FluencyInstance
Spec for fluency instance.
-
#metric_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FluencySpec
Spec for fluency score metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1FluencyInput
constructor
A new instance of GoogleCloudAiplatformV1beta1FluencyInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1FluencyInput
Returns a new instance of GoogleCloudAiplatformV1beta1FluencyInput.
10579 10580 10581 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10579 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FluencyInstance
Spec for fluency instance.
Corresponds to the JSON property instance
10572 10573 10574 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10572 def instance @instance end |
#metric_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FluencySpec
Spec for fluency score metric.
Corresponds to the JSON property metricSpec
10577 10578 10579 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10577 def metric_spec @metric_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10584 10585 10586 10587 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10584 def update!(**args) @instance = args[:instance] if args.key?(:instance) @metric_spec = args[:metric_spec] if args.key?(:metric_spec) end |