Class DeepEqualMetric
java.lang.Object
com.google.genkit.plugins.evaluators.metrics.DeepEqualMetric
Deep Equal metric evaluator.
Evaluates whether the output is deeply equal to the reference. Supports JSON comparison for structured data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(EvalDataPoint dataPoint) Evaluates whether the output is deeply equal to the reference.
-
Constructor Details
-
DeepEqualMetric
public DeepEqualMetric()
-
-
Method Details
-
evaluate
Evaluates whether the output is deeply equal to the reference.- Parameters:
dataPoint- the evaluation data point- Returns:
- the evaluation response
-