View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics (google_api_discovery_engine v0.27.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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.