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.
31287 31288 31289 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31287 def initialize(**args) update!(**args) end |
Instance Attribute Details
#signals ⇒ Array<Google::Apis::AiplatformV1::LearningGenaiRootToxicitySignal>
Corresponds to the JSON property signals
31285 31286 31287 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31285 def signals @signals end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31292 31293 31294 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31292 def update!(**args) @signals = args[:signals] if args.key?(:signals) end |