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.
31529 31530 31531 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31529 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy ⇒ String
Corresponds to the JSON property policy
31522 31523 31524 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31522 def policy @policy end |
#score_max ⇒ Float
Corresponds to the JSON property scoreMax
31527 31528 31529 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31527 def score_max @score_max end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31534 31535 31536 31537 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31534 def update!(**args) @policy = args[:policy] if args.key?(:policy) @score_max = args[:score_max] if args.key?(:score_max) end |