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.
30906 30907 30908 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30906 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
30904 30905 30906 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30904 def fixed_length_chunking @fixed_length_chunking end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30911 30912 30913 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30911 def update!(**args) @fixed_length_chunking = args[:fixed_length_chunking] if args.key?(:fixed_length_chunking) end |