Class ComparisonType (0.7.0)

ComparisonType(value)

Supported comparison types for checking the agent's response.

Enums

Name Description
COMPARISON_TYPE_UNSPECIFIED Unspecified comparison type. Behavior defaults to SEMANTIC_SIMILARITY for agent responses and tool calls.
EQUALS Exact string match.
CONTAINS Substring match (checks if the expected string is contained in the actual response).
SEMANTIC_SIMILARITY Semantic similarity match (evaluates meaning similarity using an LLM).