Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationResult::EvaluationExpectationResult.
The result of a single evaluation expectation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#evaluation_expectation
def evaluation_expectation() -> ::String
Returns
-
(::String) — Output only. The evaluation expectation.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}
#explanation
def explanation() -> ::String
Returns
- (::String) — Output only. The explanation for the result.
#outcome
def outcome() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::Outcome
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationResult::Outcome) — Output only. The outcome of the evaluation expectation.
#prompt
def prompt() -> ::String
Returns
- (::String) — Output only. The prompt that was used for the evaluation.