Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveContextsRequest

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

Request message for VertexRagService.RetrieveContexts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RetrieveContextsRequest

Returns a new instance of GoogleCloudAiplatformV1beta1RetrieveContextsRequest.



48780
48781
48782
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48780

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

Instance Attribute Details

#queryGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagQuery

A query to retrieve relevant contexts. Corresponds to the JSON property query



48773
48774
48775
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48773

def query
  @query
end

#vertex_rag_storeGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore

The data source for Vertex RagStore. Corresponds to the JSON property vertexRagStore



48778
48779
48780
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48778

def vertex_rag_store
  @vertex_rag_store
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



48785
48786
48787
48788
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48785

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