Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationResult::HallucinationResult.
The result of the hallucination check for a single turn.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#explanation
def explanation() -> ::String
Returns
- (::String) — Output only. The explanation for the hallucination score.
#label
def label() -> ::String
Returns
- (::String) — Output only. The label associated with each score. Score 1: Justified Score 0: Not Justified Score -1: No Claim To Assess
#score
def score() -> ::Integer
Returns
- (::Integer) — Output only. The hallucination score. Can be -1, 0, 1.