Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryExtensionRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryExtensionRequest
- 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 ExtensionExecutionService.QueryExtension.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1QueryExtensionRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1QueryExtensionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1QueryExtensionRequest
Returns a new instance of GoogleCloudAiplatformV1beta1QueryExtensionRequest.
22048 22049 22050 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22048 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contents ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>
Required. The content of the current conversation with the model. For single-
turn queries, this is a single instance. For multi-turn queries, this is a
repeated field that contains conversation history + latest request.
Corresponds to the JSON property contents
22046 22047 22048 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22046 def contents @contents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22053 22054 22055 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22053 def update!(**args) @contents = args[:contents] if args.key?(:contents) end |