Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::SafetyResult.
Spec for safety result.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#confidence
def confidence() -> ::Float
Returns
- (::Float) — Output only. Confidence for safety score.
#explanation
def explanation() -> ::String
Returns
- (::String) — Output only. Explanation for safety score.
#score
def score() -> ::Float
Returns
- (::Float) — Output only. Safety score.