Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RubricContentProperty

Inherits:
Object
  • Object
show all
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

Defines criteria based on a specific property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RubricContentProperty

Returns a new instance of GoogleCloudAiplatformV1beta1RubricContentProperty.



46143
46144
46145
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 46143

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

Description of the property being evaluated. Example: "The model's response is grammatically correct." Corresponds to the JSON property description

Returns:

  • (String)


46141
46142
46143
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 46141

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



46148
46149
46150
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 46148

def update!(**args)
  @description = args[:description] if args.key?(:description)
end