Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UploadRagFileConfig

Inherits:
Object
  • Object
show all
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

Config for uploading RagFile.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1UploadRagFileConfig

Returns a new instance of GoogleCloudAiplatformV1beta1UploadRagFileConfig.



36085
36086
36087
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36085

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

Instance Attribute Details

#rag_file_chunking_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileChunkingConfig

Specifies the size and overlap of chunks for RagFiles. Corresponds to the JSON property ragFileChunkingConfig



36083
36084
36085
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36083

def rag_file_chunking_config
  @rag_file_chunking_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36090
36091
36092
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36090

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