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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationResult::GoldenExpectationOutcome.

Specifies the expectation and the result of that expectation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#expectation

def expectation() -> ::Google::Cloud::Ces::V1beta::Evaluation::GoldenExpectation
Returns

#observed_agent_response

def observed_agent_response() -> ::Google::Cloud::Ces::V1beta::Message
Returns
  • (::Google::Cloud::Ces::V1beta::Message) — Output only. The result of the agent response expectation.

    Note: The following fields are mutually exclusive: observed_agent_response, observed_tool_call, observed_tool_response, observed_agent_transfer. If a field in that set is populated, all other fields in the set will automatically be cleared.

#observed_agent_transfer

def observed_agent_transfer() -> ::Google::Cloud::Ces::V1beta::AgentTransfer
Returns
  • (::Google::Cloud::Ces::V1beta::AgentTransfer) — Output only. The result of the agent transfer expectation.

    Note: The following fields are mutually exclusive: observed_agent_transfer, observed_tool_call, observed_tool_response, observed_agent_response. 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::ToolCall
Returns
  • (::Google::Cloud::Ces::V1beta::ToolCall) — Output only. The result of the tool call expectation.

    Note: The following fields are mutually exclusive: observed_tool_call, observed_tool_response, observed_agent_response, observed_agent_transfer. If a field in that set is populated, all other fields in the set will automatically be cleared.

#observed_tool_response

def observed_tool_response() -> ::Google::Cloud::Ces::V1beta::ToolResponse
Returns
  • (::Google::Cloud::Ces::V1beta::ToolResponse) — Output only. The result of the tool response expectation.

    Note: The following fields are mutually exclusive: observed_tool_response, observed_tool_call, observed_agent_response, observed_agent_transfer. 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
Returns

#semantic_similarity_result

def semantic_similarity_result() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::SemanticSimilarityResult
Returns

#tool_invocation_result

def tool_invocation_result() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::GoldenExpectationOutcome::ToolInvocationResult
Returns