Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::EvaluationResult::ScenarioExpectationOutcome (v0.1.0)

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
Returns

#observed_agent_response

def observed_agent_response() -> ::Google::Cloud::Ces::V1beta::Message
Returns
  • (::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
Returns

#outcome

def outcome() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::Outcome
Returns