Class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingConfigThreshold
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingConfigThreshold
- 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
Score threshold for a category.
Instance Attribute Summary collapse
-
#policy ⇒ String
Corresponds to the JSON property
policy. -
#score_max ⇒ Float
Corresponds to the JSON property
scoreMax.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootControlDecodingConfigThreshold
constructor
A new instance of LearningGenaiRootControlDecodingConfigThreshold.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootControlDecodingConfigThreshold
Returns a new instance of LearningGenaiRootControlDecodingConfigThreshold.
31460 31461 31462 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31460 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy ⇒ String
Corresponds to the JSON property policy
31453 31454 31455 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31453 def policy @policy end |
#score_max ⇒ Float
Corresponds to the JSON property scoreMax
31458 31459 31460 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31458 def score_max @score_max end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31465 31466 31467 31468 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31465 def update!(**args) @policy = args[:policy] if args.key?(:policy) @score_max = args[:score_max] if args.key?(:score_max) end |