Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveContextsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveContextsRequest
- 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
-
#query ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagQuery
A query to retrieve relevant contexts.
-
#vertex_rag_store ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore
The data source for Vertex RagStore.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1RetrieveContextsRequest
constructor
A new instance of GoogleCloudAiplatformV1RetrieveContextsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1RetrieveContextsRequest
Returns a new instance of GoogleCloudAiplatformV1RetrieveContextsRequest.
23702 23703 23704 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23702 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagQuery
A query to retrieve relevant contexts.
Corresponds to the JSON property query
23695 23696 23697 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23695 def query @query end |
#vertex_rag_store ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore
The data source for Vertex RagStore.
Corresponds to the JSON property vertexRagStore
23700 23701 23702 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23700 def vertex_rag_store @vertex_rag_store end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23707 23708 23709 23710 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23707 def update!(**args) @query = args[:query] if args.key?(:query) @vertex_rag_store = args[:vertex_rag_store] if args.key?(:vertex_rag_store) end |