Class FunctionCallingConfig (1.135.0)

FunctionCallingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Function calling config.

Attributes

Name Description
mode google.cloud.aiplatform_v1.types.FunctionCallingConfig.Mode
Optional. Function calling mode.
allowed_function_names MutableSequence[str]
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.
stream_function_call_arguments bool
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.

Classes

Mode

Mode(value)

Function calling mode.

Methods

FunctionCallingConfig

FunctionCallingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Function calling config.