View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FunctionCall (google_api_ai_platform v0.13.0)

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

  • args (type: map(), default: nil) - Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
  • name (type: String.t, default: nil) - Required. The name of the function to call. Matches [FunctionDeclaration.name].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FunctionCall{
  args: map() | nil,
  name: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.