public enum EvaluationMetricsConfig.Types.ComparisonTypeReference 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.V1BetaAssembly
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. |