Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStoreRagResource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStoreRagResource
- 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) ⇒ GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStoreRagResource
constructor
A new instance of GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStoreRagResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStoreRagResource
Returns a new instance of GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStoreRagResource.
24008 24009 24010 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24008 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rag_corpus ⇒ String
Optional. RagCorpora resource name. Format: projects/
project/locations/
location/ragCorpora/
rag_corpus`
Corresponds to the JSON property
ragCorpus`
24000 24001 24002 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24000 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 ragFileIds
24006 24007 24008 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24006 def rag_file_ids @rag_file_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
24013 24014 24015 24016 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24013 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 |