View Source GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceSafetyRating (google_api_ai_platform v0.3.0)
Safety rating corresponding to the generated content.
Attributes
-
blocked
(type:boolean()
, default:nil
) - Indicates whether the content was filtered out because of this rating. -
category
(type:String.t
, default:nil
) - Harm category. -
influentialTerms
(type:list(GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm.t)
, default:nil
) - The influential terms that could potentially block the response. -
probability
(type:String.t
, default:nil
) - Harm probability levels in the content. -
probabilityScore
(type:number()
, default:nil
) - Harm probability score. -
severity
(type:String.t
, default:nil
) - Harm severity levels in the content. -
severityScore
(type:number()
, default:nil
) - Harm severity score.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceSafetyRating{ blocked: boolean() | nil, category: String.t() | nil, influentialTerms: [ GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm.t() ] | nil, probability: String.t() | nil, probabilityScore: number() | nil, severity: String.t() | nil, severityScore: number() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.