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

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

The result of running a single turn of the golden conversation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#conversation

def conversation() -> ::String
Returns
  • (::String) — Output only. The conversation that was generated for this turn.

#error_info

def error_info() -> ::Google::Cloud::Ces::V1beta::EvaluationErrorInfo
Returns

#expectation_outcome

def expectation_outcome() -> ::Array<::Google::Cloud::Ces::V1beta::EvaluationResult::GoldenExpectationOutcome>
Returns

#hallucination_result

def hallucination_result() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::HallucinationResult
Returns

#overall_tool_invocation_result

def overall_tool_invocation_result() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::OverallToolInvocationResult
Returns

#semantic_similarity_result

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

#span_latencies

def span_latencies() -> ::Array<::Google::Cloud::Ces::V1beta::EvaluationResult::SpanLatency>
Returns

#tool_call_latencies

def tool_call_latencies() -> ::Array<::Google::Cloud::Ces::V1beta::EvaluationResult::ToolCallLatency>
Returns

#tool_invocation_score

def tool_invocation_score() -> ::Float
Returns
  • (::Float) — Output only. Deprecated. Use OverallToolInvocationResult instead.

#tool_ordered_invocation_score

def tool_ordered_invocation_score() -> ::Float
Returns
  • (::Float) — Output only. The overall tool ordered invocation score for this turn. This indicates the overall percent of tools from the expected turn that were actually invoked in the expected order.

#turn_latency

def turn_latency() -> ::Google::Protobuf::Duration
Returns