Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::FunctionCallingConfig (v0.56.0)

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

Function calling config.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowed_function_names

def allowed_function_names() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided.

#allowed_function_names=

def allowed_function_names=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided.
Returns
  • (::Array<::String>) — Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided.

#mode

def mode() -> ::Google::Cloud::AIPlatform::V1::FunctionCallingConfig::Mode
Returns

#mode=

def mode=(value) -> ::Google::Cloud::AIPlatform::V1::FunctionCallingConfig::Mode
Parameter
Returns