Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricContentProperty

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1RubricContentProperty

Returns a new instance of GoogleCloudAiplatformV1RubricContentProperty.



34010
34011
34012
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34010

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)


34008
34009
34010
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34008

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34015
34016
34017
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34015

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