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.



23382
23383
23384
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23382

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



23380
23381
23382
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23380

def fixed_length_chunking
  @fixed_length_chunking
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23387
23388
23389
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23387

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