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

Attributes

  • detectedLabels (type: list(GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionRaiInfoDetectedLabels.t), default: nil) - The list of detected labels for different rai categories.
  • modelName (type: String.t, default: nil) - The model name used to indexing into the RaiFilterConfig map. Would either be one of imagegeneration@002-006, imagen-3.0-... api endpoint names, or internal names used for mapping to different filter configs (genselfie, ai_watermark) than its api endpoint.
  • raiCategories (type: list(String.t), default: nil) - List of rai categories' information to return
  • scores (type: list(number()), default: nil) - List of rai scores mapping to the rai categories. Rounded to 1 decimal place.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionRaiInfo{
  detectedLabels:
    [
      GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionRaiInfoDetectedLabels.t()
    ]
    | nil,
  modelName: String.t() | nil,
  raiCategories: [String.t()] | nil,
  scores: [number()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.