View Source GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRoutingDecision (google_api_ai_platform v0.2.0)

Holds the final routing decision, by storing the model_config_id. And individual scores each model got.

Attributes

  • metadata (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRoutingDecisionMetadata.t, default: nil) -
  • modelConfigId (type: String.t, default: nil) - The selected model to route traffic to.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRoutingDecision{
  metadata:
    GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRoutingDecisionMetadata.t()
    | nil,
  modelConfigId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.