Uses of Class
com.google.genkit.plugins.evaluators.MetricConfig
Packages that use MetricConfig
-
Uses of MetricConfig in com.google.genkit.plugins.evaluators
Methods in com.google.genkit.plugins.evaluators that return MetricConfigModifier and TypeMethodDescriptionMetricConfig.Builder.build()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.Methods in com.google.genkit.plugins.evaluators that return types with arguments of type MetricConfigMethods in com.google.genkit.plugins.evaluators with parameters of type MetricConfigModifier and TypeMethodDescriptionEvaluatorsPluginOptions.Builder.addMetric(MetricConfig metric) EvaluatorsPluginOptions.resolveEmbedder(MetricConfig config) Resolves the embedder for a specific metric, falling back to the global default.EvaluatorsPluginOptions.resolveEmbedderOptions(MetricConfig config) Resolves the embedder options for a specific metric, falling back to the global default.EvaluatorsPluginOptions.resolveJudge(MetricConfig config) Resolves the judge for a specific metric, falling back to the global default.EvaluatorsPluginOptions.resolveJudgeConfig(MetricConfig config) Resolves the judge config for a specific metric, falling back to the global default.static EvaluatorsPluginOptionsEvaluatorsPluginOptions.withMetrics(MetricConfig... metrics) Creates plugin options with the specified metrics using defaults for judge and embedder.Method parameters in com.google.genkit.plugins.evaluators with type arguments of type MetricConfigModifier and TypeMethodDescriptionEvaluatorsPluginOptions.Builder.metrics(List<MetricConfig> metrics)