Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UploadRagFileRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UploadRagFileRequest
- 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
Request message for VertexRagDataService.UploadRagFile.
Instance Attribute Summary collapse
-
#rag_file ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFile
A RagFile contains user data for chunking, embedding and indexing.
-
#upload_rag_file_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UploadRagFileConfig
Config for uploading RagFile.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1UploadRagFileRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1UploadRagFileRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1UploadRagFileRequest
Returns a new instance of GoogleCloudAiplatformV1beta1UploadRagFileRequest.
36109 36110 36111 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36109 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rag_file ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFile
A RagFile contains user data for chunking, embedding and indexing.
Corresponds to the JSON property ragFile
36102 36103 36104 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36102 def rag_file @rag_file end |
#upload_rag_file_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UploadRagFileConfig
Config for uploading RagFile.
Corresponds to the JSON property uploadRagFileConfig
36107 36108 36109 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36107 def upload_rag_file_config @upload_rag_file_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
36114 36115 36116 36117 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36114 def update!(**args) @rag_file = args[:rag_file] if args.key?(:rag_file) @upload_rag_file_config = args[:upload_rag_file_config] if args.key?(:upload_rag_file_config) end |