Class: Google::Cloud::AIPlatform::V1::FunctionResponse
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::FunctionResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/tool.rb
Overview
The result output from a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a [FunctionCall] made based on model prediction.
Instance Attribute Summary collapse
-
#name ⇒ ::String
Required.
-
#response ⇒ ::Google::Protobuf::Struct
Required.
Instance Attribute Details
#name ⇒ ::String
Returns Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
119 120 121 122 |
# File 'proto_docs/google/cloud/aiplatform/v1/tool.rb', line 119 class FunctionResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#response ⇒ ::Google::Protobuf::Struct
Returns Required. The function response in JSON object format.
119 120 121 122 |
# File 'proto_docs/google/cloud/aiplatform/v1/tool.rb', line 119 class FunctionResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |