Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1RetrievalCallDelta
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1RetrievalCallDelta
- 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
Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
Instance Attribute Summary collapse
-
#arguments ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1RetrievalCallStepRetrievalStepArguments
The arguments to pass to Retrieval tools.
-
#retrieval_type ⇒ String
The type of retrieval tools.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1RetrievalCallDelta
constructor
A new instance of GenaiVertexV1beta1RetrievalCallDelta.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1RetrievalCallDelta
Returns a new instance of GenaiVertexV1beta1RetrievalCallDelta.
4537 4538 4539 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4537 def initialize(**args) update!(**args) end |
Instance Attribute Details
#arguments ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1RetrievalCallStepRetrievalStepArguments
The arguments to pass to Retrieval tools.
Corresponds to the JSON property arguments
4530 4531 4532 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4530 def arguments @arguments end |
#retrieval_type ⇒ String
The type of retrieval tools.
Corresponds to the JSON property retrievalType
4535 4536 4537 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4535 def retrieval_type @retrieval_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4542 4543 4544 4545 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4542 def update!(**args) @arguments = args[:arguments] if args.key?(:arguments) @retrieval_type = args[:retrieval_type] if args.key?(:retrieval_type) end |