Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartLmRootMetadata

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

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.



929
930
931
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 929

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)


927
928
929
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 927

def chunk_id
  @chunk_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



934
935
936
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 934

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