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

Safety settings.

Attributes

  • category (type: String.t, default: nil) - Required. Harm category.
  • method (type: String.t, default: nil) - Optional. Specify if the threshold is used for probability or severity score. If not specified, the threshold is used for probability score.
  • threshold (type: String.t, default: nil) - Required. The harm block threshold.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SafetySetting{
  category: String.t() | nil,
  method: String.t() | nil,
  threshold: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.