Class: Google::Apis::AiplatformV1beta1::LearningGenaiRootRoutingDecisionMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Debug metadata about the routing decision.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LearningGenaiRootRoutingDecisionMetadata

Returns a new instance of LearningGenaiRootRoutingDecisionMetadata.



36149
36150
36151
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36149

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#score_based_routing_metadataGoogle::Apis::AiplatformV1beta1::LearningGenaiRootRoutingDecisionMetadataScoreBased

If we are routing using scored based configuration, then the metadata about that is available in this proto. Corresponds to the JSON property scoreBasedRoutingMetadata



36142
36143
36144
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36142

def 
  @score_based_routing_metadata
end

#token_length_based_routing_metadataGoogle::Apis::AiplatformV1beta1::LearningGenaiRootRoutingDecisionMetadataTokenLengthBased

Corresponds to the JSON property tokenLengthBasedRoutingMetadata



36147
36148
36149
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36147

def 
  @token_length_based_routing_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36154
36155
36156
36157
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36154

def update!(**args)
  @score_based_routing_metadata = args[:score_based_routing_metadata] if args.key?(:score_based_routing_metadata)
  @token_length_based_routing_metadata = args[:token_length_based_routing_metadata] if args.key?(:token_length_based_routing_metadata)
end