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
- (::Google::Cloud::AIPlatform::V1::FunctionCallingConfig::Mode) — Optional. Function calling mode.
#mode=
def mode=(value) -> ::Google::Cloud::AIPlatform::V1::FunctionCallingConfig::Mode
Parameter
- value (::Google::Cloud::AIPlatform::V1::FunctionCallingConfig::Mode) — Optional. Function calling mode.
Returns
- (::Google::Cloud::AIPlatform::V1::FunctionCallingConfig::Mode) — Optional. Function calling mode.
#stream_function_call_arguments
def stream_function_call_arguments() -> ::Boolean
Returns
- (::Boolean) — Optional. When set to true, arguments of a single function call will be streamed out in multiple parts/contents/responses. Partial parameter results will be returned in the [FunctionCall.partial_args] field.
#stream_function_call_arguments=
def stream_function_call_arguments=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. When set to true, arguments of a single function call will be streamed out in multiple parts/contents/responses. Partial parameter results will be returned in the [FunctionCall.partial_args] field.
Returns
- (::Boolean) — Optional. When set to true, arguments of a single function call will be streamed out in multiple parts/contents/responses. Partial parameter results will be returned in the [FunctionCall.partial_args] field.