Class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartLmRootMetadata

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

Metadata provides extra info for building the LM Root request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiNlLlmProtoServicePartLmRootMetadata

Returns a new instance of CloudAiNlLlmProtoServicePartLmRootMetadata.



935
936
937
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 935

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

Instance Attribute Details

#chunk_idString

Chunk id that will be used when mapping the part to the LM Root's chunk. Corresponds to the JSON property chunkId

Returns:

  • (String)


933
934
935
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 933

def chunk_id
  @chunk_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



940
941
942
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 940

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