Metric constructor
Metric({
- PredefinedMetricSpec? predefinedMetricSpec,
- ComputationBasedMetricSpec? computationBasedMetricSpec,
- LlmbasedMetricSpec? llmBasedMetricSpec,
- PointwiseMetricSpec? pointwiseMetricSpec,
- PairwiseMetricSpec? pairwiseMetricSpec,
- ExactMatchSpec? exactMatchSpec,
- BleuSpec? bleuSpec,
- RougeSpec? rougeSpec,
- List<
Metric_AggregationMetric> aggregationMetrics = const [],
Implementation
Metric({
this.predefinedMetricSpec,
this.computationBasedMetricSpec,
this.llmBasedMetricSpec,
this.pointwiseMetricSpec,
this.pairwiseMetricSpec,
this.exactMatchSpec,
this.bleuSpec,
this.rougeSpec,
this.aggregationMetrics = const [],
}) : super(fullyQualifiedName);