Class: Google::Apis::AiplatformV1::LearningGenaiRootRoutingDecision
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::LearningGenaiRootRoutingDecision
- 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
Holds the final routing decision, by storing the model_config_id. And individual scores each model got.
Instance Attribute Summary collapse
-
#metadata ⇒ Google::Apis::AiplatformV1::LearningGenaiRootRoutingDecisionMetadata
Debug metadata about the routing decision.
-
#model_config_id ⇒ String
The selected model to route traffic to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootRoutingDecision
constructor
A new instance of LearningGenaiRootRoutingDecision.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootRoutingDecision
Returns a new instance of LearningGenaiRootRoutingDecision.
29695 29696 29697 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29695 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Google::Apis::AiplatformV1::LearningGenaiRootRoutingDecisionMetadata
Debug metadata about the routing decision.
Corresponds to the JSON property metadata
29688 29689 29690 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29688 def @metadata end |
#model_config_id ⇒ String
The selected model to route traffic to.
Corresponds to the JSON property modelConfigId
29693 29694 29695 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29693 def model_config_id @model_config_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29700 29701 29702 29703 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29700 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @model_config_id = args[:model_config_id] if args.key?(:model_config_id) end |