View Source GoogleApi.AIPlatform.V1.Model.LearningGenaiRootHarm (google_api_ai_platform v0.3.0)

Attributes

  • contextualDangerous (type: boolean(), default: nil) - Please do not use, this is still under development.
  • csam (type: boolean(), default: nil) -
  • fringe (type: boolean(), default: nil) -
  • grailImageHarmType (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootHarmGrailImageHarmType.t, default: nil) -
  • grailTextHarmType (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootHarmGrailTextHarmType.t, default: nil) -
  • imageCsam (type: boolean(), default: nil) -
  • imagePedo (type: boolean(), default: nil) -
  • imagePorn (type: boolean(), default: nil) - Image signals
  • imageViolence (type: boolean(), default: nil) -
  • pqc (type: boolean(), default: nil) -
  • safetycat (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootHarmSafetyCatCategories.t, default: nil) -
  • spii (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootHarmSpiiFilter.t, default: nil) - Spii Filter uses buckets http://google3/google/privacy/dlp/v2/storage.proto;l=77;rcl=584719820 to classify the input. LMRoot converts the bucket into double score. For example the score for "POSSIBLE" is 3 / 5 = 0.6 .
  • threshold (type: float(), default: nil) -
  • videoFrameCsam (type: boolean(), default: nil) -
  • videoFramePedo (type: boolean(), default: nil) -
  • videoFramePorn (type: boolean(), default: nil) - Video frame signals
  • videoFrameViolence (type: boolean(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootHarm{
  contextualDangerous: boolean() | nil,
  csam: boolean() | nil,
  fringe: boolean() | nil,
  grailImageHarmType:
    GoogleApi.AIPlatform.V1.Model.LearningGenaiRootHarmGrailImageHarmType.t()
    | nil,
  grailTextHarmType:
    GoogleApi.AIPlatform.V1.Model.LearningGenaiRootHarmGrailTextHarmType.t()
    | nil,
  imageCsam: boolean() | nil,
  imagePedo: boolean() | nil,
  imagePorn: boolean() | nil,
  imageViolence: boolean() | nil,
  pqc: boolean() | nil,
  safetycat:
    GoogleApi.AIPlatform.V1.Model.LearningGenaiRootHarmSafetyCatCategories.t()
    | nil,
  spii: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootHarmSpiiFilter.t() | nil,
  threshold: float() | nil,
  videoFrameCsam: boolean() | nil,
  videoFramePedo: boolean() | nil,
  videoFramePorn: boolean() | nil,
  videoFrameViolence: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.