Gemini Enterprise for Customer Experience v1beta API - Enum EvaluationMetricsConfig.Types.ComparisonType (1.0.0-beta06)

public enum EvaluationMetricsConfig.Types.ComparisonType

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API enum EvaluationMetricsConfig.Types.ComparisonType.

Supported comparison types for checking the agent's response.

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Fields

Name Description
Contains

Substring match (checks if the expected string is contained in the actual response).

Equals

Exact string match.

SemanticSimilarity

Semantic similarity match (evaluates meaning similarity using an LLM).

Unspecified

Unspecified comparison type. Behavior defaults to SEMANTIC_SIMILARITY for agent responses and tool calls.