Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet

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

EvaluationSet is a collection of related EvaluationItems that are evaluated together.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EvaluationSet

Returns a new instance of GoogleCloudAiplatformV1beta1EvaluationSet.



17840
17841
17842
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17840

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

Instance Attribute Details

#agent_configsHash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentConfig>

Optional. Static configurations for each agent associated with the items in this set. Key: agent_id (matches the author field in events). Value: The static configuration of the agent. Corresponds to the JSON property agentConfigs



17807
17808
17809
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17807

def agent_configs
  @agent_configs
end

#create_timeString

Output only. Timestamp when this item was created. Corresponds to the JSON property createTime

Returns:

  • (String)


17812
17813
17814
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17812

def create_time
  @create_time
end

#display_nameString

Required. The display name of the EvaluationSet. Corresponds to the JSON property displayName

Returns:

  • (String)


17817
17818
17819
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17817

def display_name
  @display_name
end

#evaluation_itemsArray<String>

Required. The EvaluationItems that are part of this dataset. Corresponds to the JSON property evaluationItems

Returns:

  • (Array<String>)


17822
17823
17824
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17822

def evaluation_items
  @evaluation_items
end

#metadataObject

Optional. Metadata for the EvaluationSet. Corresponds to the JSON property metadata

Returns:

  • (Object)


17827
17828
17829
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17827

def 
  @metadata
end

#nameString

Identifier. The resource name of the EvaluationSet. Format: projects/project /locations/location/evaluationSets/evaluation_set` Corresponds to the JSON propertyname`

Returns:

  • (String)


17833
17834
17835
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17833

def name
  @name
end

#update_timeString

Output only. Timestamp when this item was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


17838
17839
17840
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17838

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17845
17846
17847
17848
17849
17850
17851
17852
17853
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17845

def update!(**args)
  @agent_configs = args[:agent_configs] if args.key?(:agent_configs)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @evaluation_items = args[:evaluation_items] if args.key?(:evaluation_items)
  @metadata = args[:metadata] if args.key?(:metadata)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end