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.
4143 4144 4145 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4143 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rag_corpus ⇒ String
Optional. RagCorpora resource name.
Corresponds to the JSON property rag_corpus
4135 4136 4137 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4135 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
4141 4142 4143 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4141 def rag_file_ids @rag_file_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4148 4149 4150 4151 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4148 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 |