Class: Google::Cloud::AIPlatform::V1::FunctionCall

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/tool.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#args::Google::Protobuf::Struct

Returns 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.



103
104
105
106
# File 'proto_docs/google/cloud/aiplatform/v1/tool.rb', line 103

class FunctionCall
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Required. The name of the function to call. Matches [FunctionDeclaration.name].

Returns:

  • (::String)

    Required. The name of the function to call. Matches [FunctionDeclaration.name].



103
104
105
106
# File 'proto_docs/google/cloud/aiplatform/v1/tool.rb', line 103

class FunctionCall
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end