Class: Google::Cloud::Ces::V1beta::EvaluationResult::HallucinationResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/ces/v1beta/evaluation.rb

Overview

The result of the hallucination check for a single turn.

Instance Attribute Summary collapse

Instance Attribute Details

#explanation::String (readonly)

Returns Output only. The explanation for the hallucination score.

Returns:

  • (::String)

    Output only. The explanation for the hallucination score.



884
885
886
887
# File 'proto_docs/google/cloud/ces/v1beta/evaluation.rb', line 884

class HallucinationResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#label::String (readonly)

Returns Output only. The label associated with each score. Score 1: Justified Score 0: Not Justified Score -1: No Claim To Assess.

Returns:

  • (::String)

    Output only. The label associated with each score. Score 1: Justified Score 0: Not Justified Score -1: No Claim To Assess



884
885
886
887
# File 'proto_docs/google/cloud/ces/v1beta/evaluation.rb', line 884

class HallucinationResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#score::Integer (readonly)

Returns Output only. The hallucination score. Can be -1, 0, 1.

Returns:

  • (::Integer)

    Output only. The hallucination score. Can be -1, 0, 1.



884
885
886
887
# File 'proto_docs/google/cloud/ces/v1beta/evaluation.rb', line 884

class HallucinationResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end