Metric constructor

Metric({
  1. PredefinedMetricSpec? predefinedMetricSpec,
  2. ComputationBasedMetricSpec? computationBasedMetricSpec,
  3. LlmbasedMetricSpec? llmBasedMetricSpec,
  4. PointwiseMetricSpec? pointwiseMetricSpec,
  5. PairwiseMetricSpec? pairwiseMetricSpec,
  6. ExactMatchSpec? exactMatchSpec,
  7. BleuSpec? bleuSpec,
  8. RougeSpec? rougeSpec,
  9. 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);