Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryExtensionResponse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryExtensionResponse
- 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
Response message for ExtensionExecutionService.QueryExtension.
Instance Attribute Summary collapse
-
#failure_message ⇒ String
Failure message if any.
-
#metadata ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryResponseResponseMetadata
Metadata for response Corresponds to the JSON property
metadata. -
#query_response_metadata ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadata
Corresponds to the JSON property
queryResponseMetadata. -
#response ⇒ String
Response to the user's query.
-
#steps ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>
Steps of extension or LLM interaction, can contain function call, function response, or text response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1QueryExtensionResponse
constructor
A new instance of GoogleCloudAiplatformV1beta1QueryExtensionResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1QueryExtensionResponse
Returns a new instance of GoogleCloudAiplatformV1beta1QueryExtensionResponse.
19214 19215 19216 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19214 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failure_message ⇒ String
Failure message if any.
Corresponds to the JSON property failureMessage
19190 19191 19192 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19190 def @failure_message end |
#metadata ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryResponseResponseMetadata
Metadata for response
Corresponds to the JSON property metadata
19195 19196 19197 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19195 def @metadata end |
#query_response_metadata ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryResponseQueryResponseMetadata
Corresponds to the JSON property queryResponseMetadata
19200 19201 19202 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19200 def @query_response_metadata end |
#response ⇒ String
Response to the user's query.
Corresponds to the JSON property response
19205 19206 19207 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19205 def response @response end |
#steps ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>
Steps of extension or LLM interaction, can contain function call, function
response, or text response. The last step contains the final response to the
query.
Corresponds to the JSON property steps
19212 19213 19214 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19212 def steps @steps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19219 19220 19221 19222 19223 19224 19225 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19219 def update!(**args) @failure_message = args[:failure_message] if args.key?(:failure_message) @metadata = args[:metadata] if args.key?(:metadata) @query_response_metadata = args[:query_response_metadata] if args.key?(:query_response_metadata) @response = args[:response] if args.key?(:response) @steps = args[:steps] if args.key?(:steps) end |