Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileChunkingConfigFixedLengthChunking
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileChunkingConfigFixedLengthChunking
- 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
Specifies the fixed length chunking config.
Instance Attribute Summary collapse
-
#chunk_overlap ⇒ Fixnum
The overlap between chunks.
-
#chunk_size ⇒ Fixnum
The size of the chunks.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagFileChunkingConfigFixedLengthChunking
constructor
A new instance of GoogleCloudAiplatformV1beta1RagFileChunkingConfigFixedLengthChunking.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagFileChunkingConfigFixedLengthChunking
Returns a new instance of GoogleCloudAiplatformV1beta1RagFileChunkingConfigFixedLengthChunking.
37262 37263 37264 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37262 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunk_overlap ⇒ Fixnum
The overlap between chunks.
Corresponds to the JSON property chunkOverlap
37255 37256 37257 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37255 def chunk_overlap @chunk_overlap end |
#chunk_size ⇒ Fixnum
The size of the chunks.
Corresponds to the JSON property chunkSize
37260 37261 37262 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37260 def chunk_size @chunk_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
37267 37268 37269 37270 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37267 def update!(**args) @chunk_overlap = args[:chunk_overlap] if args.key?(:chunk_overlap) @chunk_size = args[:chunk_size] if args.key?(:chunk_size) end |