metricSources property

List<GoogleCloudAiplatformV1MetricSource>? metricSources
getter/setter pair

A list of metric sources to be used for evaluating samples.

At least one MetricSource must be provided. Right now, only predefined metrics and registered metrics are supported. Every registered metric must have display_name (or title) and score_range defined. Otherwise, the evaluations will fail. The maximum number of metric_sources is 25.

Required.

Implementation

core.List<GoogleCloudAiplatformV1MetricSource>? metricSources;