Uses of Class
com.google.genkit.ai.evaluation.EvalDataPoint
Packages that use EvalDataPoint
-
Uses of EvalDataPoint in com.google.genkit.ai.evaluation
Methods in com.google.genkit.ai.evaluation that return EvalDataPointMethods in com.google.genkit.ai.evaluation that return types with arguments of type EvalDataPointMethods in com.google.genkit.ai.evaluation with parameters of type EvalDataPointModifier and TypeMethodDescriptionEvaluatorFn.evaluate(EvalDataPoint dataPoint, O options) Evaluates a single data point.Method parameters in com.google.genkit.ai.evaluation with type arguments of type EvalDataPointModifier and TypeMethodDescriptionEvalRequest.Builder.dataset(List<EvalDataPoint> dataset) voidEvalRequest.setDataset(List<EvalDataPoint> dataset) -
Uses of EvalDataPoint in com.google.genkit.plugins.evaluators.metrics
Methods in com.google.genkit.plugins.evaluators.metrics with parameters of type EvalDataPointModifier and TypeMethodDescriptionAnswerAccuracyMetric.evaluate(EvalDataPoint dataPoint) Evaluates the accuracy of the output against the reference.AnswerRelevancyMetric.evaluate(EvalDataPoint dataPoint) Evaluates the relevancy of the answer to the question.DeepEqualMetric.evaluate(EvalDataPoint dataPoint) Evaluates whether the output is deeply equal to the reference.FaithfulnessMetric.evaluate(EvalDataPoint dataPoint) Evaluates faithfulness of the output against the context.JsonataMetric.evaluate(EvalDataPoint dataPoint) Evaluates the output using the JSONata expression in the reference.MaliciousnessMetric.evaluate(EvalDataPoint dataPoint) Evaluates if the output contains malicious content.RegexMetric.evaluate(EvalDataPoint dataPoint) Evaluates whether the output matches the regex pattern in the reference.