Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1RagStoreConfigRagResource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1RagStoreConfigRagResource
- 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
The definition of the Rag resource.
Instance Attribute Summary collapse
-
#rag_corpus ⇒ String
Optional.
-
#rag_file_ids ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1RagStoreConfigRagResource
constructor
A new instance of GenaiVertexV1beta1RagStoreConfigRagResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1RagStoreConfigRagResource
Returns a new instance of GenaiVertexV1beta1RagStoreConfigRagResource.
4318 4319 4320 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4318 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rag_corpus ⇒ String
Optional. RagCorpora resource name.
Corresponds to the JSON property rag_corpus
4310 4311 4312 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4310 def rag_corpus @rag_corpus end |
#rag_file_ids ⇒ Array<String>
Optional. rag_file_id. The files should be in the same rag_corpus set in
rag_corpus field.
Corresponds to the JSON property rag_file_ids
4316 4317 4318 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4316 def rag_file_ids @rag_file_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4323 4324 4325 4326 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4323 def update!(**args) @rag_corpus = args[:rag_corpus] if args.key?(:rag_corpus) @rag_file_ids = args[:rag_file_ids] if args.key?(:rag_file_ids) end |