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

The influential term that could potentially block the response.

Attributes

  • beginOffset (type: integer(), default: nil) - The beginning offset of the influential term.
  • confidence (type: number(), default: nil) - The confidence score of the influential term.
  • source (type: String.t, default: nil) - The source of the influential term, prompt or response.
  • term (type: String.t, default: nil) - The influential term.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm{
    beginOffset: integer() | nil,
    confidence: number() | nil,
    source: String.t() | nil,
    term: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.