Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileChunkingConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileChunkingConfig
- 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
-
#fixed_length_chunking ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking
Specifies the fixed length chunking config.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1RagFileChunkingConfig
constructor
A new instance of GoogleCloudAiplatformV1RagFileChunkingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1RagFileChunkingConfig
Returns a new instance of GoogleCloudAiplatformV1RagFileChunkingConfig.
22454 22455 22456 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22454 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fixed_length_chunking ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking
Specifies the fixed length chunking config.
Corresponds to the JSON property fixedLengthChunking
22452 22453 22454 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22452 def fixed_length_chunking @fixed_length_chunking end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22459 22460 22461 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22459 def update!(**args) @fixed_length_chunking = args[:fixed_length_chunking] if args.key?(:fixed_length_chunking) end |