Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricContentProperty
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricContentProperty
- 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
Defines criteria based on a specific property.
Instance Attribute Summary collapse
-
#description ⇒ String
Description of the property being evaluated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1RubricContentProperty
constructor
A new instance of GoogleCloudAiplatformV1RubricContentProperty.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1RubricContentProperty
Returns a new instance of GoogleCloudAiplatformV1RubricContentProperty.
32175 32176 32177 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32175 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Description of the property being evaluated. Example: "The model's response is
grammatically correct."
Corresponds to the JSON property description
32173 32174 32175 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32173 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
32180 32181 32182 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32180 def update!(**args) @description = args[:description] if args.key?(:description) end |