GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ExecutableCode (google_api_ai_platform v0.27.0)

View Source

Code generated by the model that is meant to be executed, and the result returned to the model. Generated when using the [FunctionDeclaration] tool and [FunctionCallingConfig] mode is set to [Mode.CODE].

Attributes

  • code (type: String.t, default: nil) - Required. The code to be executed.
  • language (type: String.t, default: nil) - Required. Programming language of the code.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ExecutableCode{
  code: String.t() | nil,
  language: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.