Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CoherenceSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CoherenceSpec
- 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 coherence score metric.
Instance Attribute Summary collapse
-
#version ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1CoherenceSpec
constructor
A new instance of GoogleCloudAiplatformV1CoherenceSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1CoherenceSpec
Returns a new instance of GoogleCloudAiplatformV1CoherenceSpec.
2836 2837 2838 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2836 def initialize(**args) update!(**args) end |
Instance Attribute Details
#version ⇒ Fixnum
Optional. Which version to use for evaluation.
Corresponds to the JSON property version
2834 2835 2836 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2834 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2841 2842 2843 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2841 def update!(**args) @version = args[:version] if args.key?(:version) end |