View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics (google_api_discovery_engine v0.22.0)

Stores the metric values at specific top-k levels.

Attributes

  • top1 (type: float(), default: nil) - The top-1 value.
  • top10 (type: float(), default: nil) - The top-10 value.
  • top3 (type: float(), default: nil) - The top-3 value.
  • top5 (type: float(), default: nil) - The top-5 value.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics{
    top1: float() | nil,
    top10: float() | nil,
    top3: float() | nil,
    top5: float() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.