Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationResult::ScenarioExpectationOutcome.
The outcome of a scenario expectation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#expectation
def expectation() -> ::Google::Cloud::Ces::V1beta::Evaluation::ScenarioExpectation- (::Google::Cloud::Ces::V1beta::Evaluation::ScenarioExpectation) — Output only. The expectation that was evaluated.
#observed_agent_response
def observed_agent_response() -> ::Google::Cloud::Ces::V1beta::Message-
(::Google::Cloud::Ces::V1beta::Message) — Output only. The observed agent response.
Note: The following fields are mutually exclusive:
observed_agent_response,observed_tool_call. If a field in that set is populated, all other fields in the set will automatically be cleared.
#observed_tool_call
def observed_tool_call() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::ScenarioExpectationOutcome::ObservedToolCall-
(::Google::Cloud::Ces::V1beta::EvaluationResult::ScenarioExpectationOutcome::ObservedToolCall) — Output only. The observed tool call.
Note: The following fields are mutually exclusive:
observed_tool_call,observed_agent_response. If a field in that set is populated, all other fields in the set will automatically be cleared.
#outcome
def outcome() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::Outcome- (::Google::Cloud::Ces::V1beta::EvaluationResult::Outcome) — Output only. The outcome of the ScenarioExpectation.