Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore

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

The data source for Vertex RagStore.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore

Returns a new instance of GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore.



22639
22640
22641
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22639

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

Instance Attribute Details

#rag_corporaArray<String>

Required. RagCorpora resource name. Format: projects/project/locations/ location/ragCorpora/rag_corpus`Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location. Corresponds to the JSON propertyragCorpora`

Returns:

  • (Array<String>)


22637
22638
22639
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22637

def rag_corpora
  @rag_corpora
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22644
22645
22646
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22644

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