Class: Google::Apis::AiplatformV1::LearningGenaiRootRoutingDecisionMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::LearningGenaiRootRoutingDecisionMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Debug metadata about the routing decision.
Instance Attribute Summary collapse
-
#score_based_routing_metadata ⇒ Google::Apis::AiplatformV1::LearningGenaiRootRoutingDecisionMetadataScoreBased
If we are routing using scored based configuration, then the metadata about that is available in this proto.
-
#token_length_based_routing_metadata ⇒ Google::Apis::AiplatformV1::LearningGenaiRootRoutingDecisionMetadataTokenLengthBased
Corresponds to the JSON property
tokenLengthBasedRoutingMetadata.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootRoutingDecisionMetadata
constructor
A new instance of LearningGenaiRootRoutingDecisionMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootRoutingDecisionMetadata
Returns a new instance of LearningGenaiRootRoutingDecisionMetadata.
29721 29722 29723 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29721 def initialize(**args) update!(**args) end |
Instance Attribute Details
#score_based_routing_metadata ⇒ Google::Apis::AiplatformV1::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
29714 29715 29716 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29714 def @score_based_routing_metadata end |
#token_length_based_routing_metadata ⇒ Google::Apis::AiplatformV1::LearningGenaiRootRoutingDecisionMetadataTokenLengthBased
Corresponds to the JSON property tokenLengthBasedRoutingMetadata
29719 29720 29721 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29719 def @token_length_based_routing_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29726 29727 29728 29729 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29726 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 |