Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileChunkingConfig

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

Specifies the size and overlap of chunks for RagFiles.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1RagFileChunkingConfig

Returns a new instance of GoogleCloudAiplatformV1RagFileChunkingConfig.



22771
22772
22773
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22771

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

Instance Attribute Details

#fixed_length_chunkingGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking

Specifies the fixed length chunking config. Corresponds to the JSON property fixedLengthChunking



22769
22770
22771
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22769

def fixed_length_chunking
  @fixed_length_chunking
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22776
22777
22778
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22776

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