Class: Google::Apis::AiplatformV1::LearningGenaiRootToxicityResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::LearningGenaiRootToxicityResult
- 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
A model can generate multiple signals and this captures all the generated signals for a single message.
Instance Attribute Summary collapse
-
#signals ⇒ Array<Google::Apis::AiplatformV1::LearningGenaiRootToxicitySignal>
Corresponds to the JSON property
signals.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootToxicityResult
constructor
A new instance of LearningGenaiRootToxicityResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootToxicityResult
Returns a new instance of LearningGenaiRootToxicityResult.
30563 30564 30565 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30563 def initialize(**args) update!(**args) end |
Instance Attribute Details
#signals ⇒ Array<Google::Apis::AiplatformV1::LearningGenaiRootToxicitySignal>
Corresponds to the JSON property signals
30561 30562 30563 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30561 def signals @signals end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30568 30569 30570 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30568 def update!(**args) @signals = args[:signals] if args.key?(:signals) end |