View Source GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRoutingDecisionMetadataScoreBased (google_api_ai_platform v0.2.0)
If we are routing using scored based configuration, then the metadata about that is available in this proto.
Attributes
-
matchedRule
(type:GoogleApi.AIPlatform.V1.Model.LearningGenaiRootScoreBasedRoutingConfigRule.t
, default:nil
) - The rule that was matched. -
score
(type:GoogleApi.AIPlatform.V1.Model.LearningGenaiRootScore.t
, default:nil
) - The score that was generated by the router i.e. the model. -
usedDefaultFallback
(type:boolean()
, default:nil
) - No rules were matched & therefore used the default fallback.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRoutingDecisionMetadataScoreBased{ matchedRule: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootScoreBasedRoutingConfigRule.t() | nil, score: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootScore.t() | nil, usedDefaultFallback: boolean() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.