Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::FunctionCall (v0.39.0)

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

A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#args

def args() -> ::Google::Protobuf::Struct
Returns
  • (::Google::Protobuf::Struct) — Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.

#args=

def args=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::Google::Protobuf::Struct) — Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
Returns
  • (::Google::Protobuf::Struct) — Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.

#name

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

#name=

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