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

Function calling config.

Attributes

  • allowedFunctionNames (type: list(String.t), default: nil) - 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 (type: String.t, default: nil) - Optional. Function calling mode.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FunctionCallingConfig{
    allowedFunctionNames: [String.t()] | nil,
    mode: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.