Class FunctionCall (1.48.0)

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

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.

Attributes

NameDescription
name str
Required. The name of the function to call. Matches [FunctionDeclaration.name].
args google.protobuf.struct_pb2.Struct
Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.

Methods

FunctionCall

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

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.