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.
30210 30211 30212 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#signals ⇒ Array<Google::Apis::AiplatformV1::LearningGenaiRootToxicitySignal>
Corresponds to the JSON property signals
30208 30209 30210 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30208 def signals @signals end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30215 30216 30217 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30215 def update!(**args) @signals = args[:signals] if args.key?(:signals) end |