View Source GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServicePromptFeedback (google_api_ai_platform v0.5.0)
Content filter results for a prompt sent in the request.
Attributes
-
blockReason
(type:String.t
, default:nil
) - Blocked reason. -
blockReasonMessage
(type:String.t
, default:nil
) - A readable block reason message. -
safetyRatings
(type:list(GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceSafetyRating.t)
, default:nil
) - Safety ratings.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServicePromptFeedback{ blockReason: String.t() | nil, blockReasonMessage: String.t() | nil, safetyRatings: [GoogleApi.AIPlatform.V1.Model.CloudAiNlLlmProtoServiceSafetyRating.t()] | nil }
Functions
Unwrap a decoded JSON object into its complex fields.