Class: Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyCheckpoint

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

Describes a sample at a checkpoint for post-processing.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LearningGenaiRootCodeyCheckpoint

Returns a new instance of LearningGenaiRootCodeyCheckpoint.



35351
35352
35353
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35351

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

Instance Attribute Details

#codey_truncator_metadataGoogle::Apis::AiplatformV1beta1::LearningGenaiRootCodeyTruncatorMetadata

Metadata describing what was truncated at each checkpoint. Corresponds to the JSON property codeyTruncatorMetadata



35339
35340
35341
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35339

def 
  @codey_truncator_metadata
end

#current_sampleString

Current state of the sample after truncator. Corresponds to the JSON property currentSample

Returns:

  • (String)


35344
35345
35346
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35344

def current_sample
  @current_sample
end

#post_inference_stepString

Postprocessor run that yielded this checkpoint. Corresponds to the JSON property postInferenceStep

Returns:

  • (String)


35349
35350
35351
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35349

def post_inference_step
  @post_inference_step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35356
35357
35358
35359
35360
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35356

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