View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CoherenceInput (google_api_ai_platform v0.13.0)

Input for coherence metric.

Attributes

  • instance (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CoherenceInstance.t, default: nil) - Required. Coherence instance.
  • metricSpec (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CoherenceSpec.t, default: nil) - Required. Spec for coherence score metric.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CoherenceInput{
  instance:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CoherenceInstance.t()
    | nil,
  metricSpec:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CoherenceSpec.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.