View Source GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceRaiSignal (google_api_ai_platform v0.2.0)
An RAI signal for a single category.
Attributes
-
confidence
(type:String.t
, default:nil
) - The confidence level for the RAI category. -
flagged
(type:boolean()
, default:nil
) - Whether the category is flagged as being present. Currently, this is set to true if score >= 0.5. -
influentialTerms
(type:list(GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm.t)
, default:nil
) - The influential terms that could potentially block the response. -
raiCategory
(type:String.t
, default:nil
) - The RAI category. -
score
(type:number()
, default:nil
) - The score for the category, in the range [0.0, 1.0].
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceRaiSignal{ confidence: String.t() | nil, flagged: boolean() | nil, influentialTerms: [ GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm.t() ] | nil, raiCategory: String.t() | nil, score: number() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.