Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::AggregatedMetrics::MetricsByTurn.
Metrics aggregated per turn.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#hallucination_metrics
def hallucination_metrics() -> ::Array<::Google::Cloud::Ces::V1beta::AggregatedMetrics::HallucinationMetrics>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::AggregatedMetrics::HallucinationMetrics>) — Output only. Metrics for hallucination within this turn.
#semantic_similarity_metrics
def semantic_similarity_metrics() -> ::Array<::Google::Cloud::Ces::V1beta::AggregatedMetrics::SemanticSimilarityMetrics>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::AggregatedMetrics::SemanticSimilarityMetrics>) — Output only. Metrics for semantic similarity within this turn.
#tool_call_latency_metrics
def tool_call_latency_metrics() -> ::Array<::Google::Cloud::Ces::V1beta::AggregatedMetrics::ToolCallLatencyMetrics>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::AggregatedMetrics::ToolCallLatencyMetrics>) — Output only. Metrics for tool call latency within this turn.
#tool_metrics
def tool_metrics() -> ::Array<::Google::Cloud::Ces::V1beta::AggregatedMetrics::ToolMetrics>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::AggregatedMetrics::ToolMetrics>) — Output only. Metrics for each tool within this turn.
#turn_index
def turn_index() -> ::Integer
Returns
- (::Integer) — Output only. The turn index (0-based).
#turn_latency_metrics
def turn_latency_metrics() -> ::Array<::Google::Cloud::Ces::V1beta::AggregatedMetrics::TurnLatencyMetrics>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::AggregatedMetrics::TurnLatencyMetrics>) — Output only. Metrics for turn latency within this turn.