Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FluencySpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FluencySpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Spec for fluency score metric.
Instance Attribute Summary collapse
-
#version ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1FluencySpec
constructor
A new instance of GoogleCloudAiplatformV1FluencySpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1FluencySpec
Returns a new instance of GoogleCloudAiplatformV1FluencySpec.
9951 9952 9953 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9951 def initialize(**args) update!(**args) end |
Instance Attribute Details
#version ⇒ Fixnum
Optional. Which version to use for evaluation.
Corresponds to the JSON property version
9949 9950 9951 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9949 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9956 9957 9958 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9956 def update!(**args) @version = args[:version] if args.key?(:version) end |