Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::FunctionResponse (v0.45.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::FunctionResponse.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
Returns
  • (::String) — Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].

#response

def response() -> ::Google::Protobuf::Struct
Returns

#response=

def response=(value) -> ::Google::Protobuf::Struct
Parameter
Returns