public enum EvaluationMetricsConfig.ComparisonType extends Enum<EvaluationMetricsConfig.ComparisonType> implements ProtocolMessageEnumSupported comparison types for checking the agent's response.
Protobuf enum google.cloud.ces.v1beta.EvaluationMetricsConfig.ComparisonType
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
COMPARISON_TYPE_UNSPECIFIED |
Unspecified comparison type. Behavior defaults to SEMANTIC_SIMILARITY for agent responses and tool calls. |
COMPARISON_TYPE_UNSPECIFIED_VALUE |
Unspecified comparison type. Behavior defaults to SEMANTIC_SIMILARITY for agent responses and tool calls. |
CONTAINS |
Substring match (checks if the expected string is contained in the actual response). |
CONTAINS_VALUE |
Substring match (checks if the expected string is contained in the actual response). |
EQUALS |
Exact string match. |
EQUALS_VALUE |
Exact string match. |
SEMANTIC_SIMILARITY |
Semantic similarity match (evaluates meaning similarity using an LLM). |
SEMANTIC_SIMILARITY_VALUE |
Semantic similarity match (evaluates meaning similarity using an LLM). |
UNRECOGNIZED |
|
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|