Uses of Enum Class
com.google.genkit.plugins.evaluators.GenkitMetric
Packages that use GenkitMetric
-
Uses of GenkitMetric in com.google.genkit.plugins.evaluators
Methods in com.google.genkit.plugins.evaluators that return GenkitMetricModifier and TypeMethodDescriptionMetricConfig.getMetricType()static GenkitMetricReturns the enum constant of this class with the specified name.static GenkitMetric[]GenkitMetric.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.google.genkit.plugins.evaluators with parameters of type GenkitMetricModifier and TypeMethodDescriptionEvaluatorsPluginOptions.Builder.addMetric(GenkitMetric metricType) MetricConfig.Builder.metricType(GenkitMetric metricType) static MetricConfigMetricConfig.of(GenkitMetric metricType) Creates a simple metric configuration with just the metric type.static MetricConfigMetricConfig.withJudge(GenkitMetric metricType, String judge) Creates a metric configuration with a judge model.static MetricConfigMetricConfig.withJudgeAndEmbedder(GenkitMetric metricType, String judge, String embedder) Creates a metric configuration with a judge model and embedder.static EvaluatorsPluginOptionsEvaluatorsPluginOptions.withMetricTypes(GenkitMetric... metricTypes) Creates plugin options with simple metric types (no per-metric configuration).Method parameters in com.google.genkit.plugins.evaluators with type arguments of type GenkitMetricModifier and TypeMethodDescriptionEvaluatorsPluginOptions.Builder.metricTypes(List<GenkitMetric> metricTypes) Sets the metrics from simple metric types (convenience method).