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.
21914 21915 21916 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21914 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
21912 21913 21914 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21912 def contents @contents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21919 21920 21921 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21919 def update!(**args) @contents = args[:contents] if args.key?(:contents) end |