Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveContextsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Request message for VertexRagService.RetrieveContexts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1RetrieveContextsRequest

Returns a new instance of GoogleCloudAiplatformV1RetrieveContextsRequest.



24038
24039
24040
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24038

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

Instance Attribute Details

#queryGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1RagQuery

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



24031
24032
24033
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24031

def query
  @query
end

#vertex_rag_storeGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore

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



24036
24037
24038
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24036

def vertex_rag_store
  @vertex_rag_store
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24043
24044
24045
24046
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24043

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