Class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecord
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecord
- 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
Holds one control decoding record.
Instance Attribute Summary collapse
-
#prefixes ⇒ String
Prefixes feeded into scorer.
-
#scores ⇒ Array<Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecordPolicyScore>
Per policy scores returned from Scorer.
-
#suffiexes ⇒ String
Suffixes feeded into scorer.
-
#thresholds ⇒ Array<Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingConfigThreshold>
Per policy thresholds from user config.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootControlDecodingRecord
constructor
A new instance of LearningGenaiRootControlDecodingRecord.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootControlDecodingRecord
Returns a new instance of LearningGenaiRootControlDecodingRecord.
31496 31497 31498 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31496 def initialize(**args) update!(**args) end |
Instance Attribute Details
#prefixes ⇒ String
Prefixes feeded into scorer.
Corresponds to the JSON property prefixes
31478 31479 31480 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31478 def prefixes @prefixes end |
#scores ⇒ Array<Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecordPolicyScore>
Per policy scores returned from Scorer. Expect to have the same number of
scores as in thresholds.
Corresponds to the JSON property scores
31484 31485 31486 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31484 def scores @scores end |
#suffiexes ⇒ String
Suffixes feeded into scorer.
Corresponds to the JSON property suffiexes
31489 31490 31491 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31489 def suffiexes @suffiexes end |
#thresholds ⇒ Array<Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingConfigThreshold>
Per policy thresholds from user config.
Corresponds to the JSON property thresholds
31494 31495 31496 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31494 def thresholds @thresholds end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31501 31502 31503 31504 31505 31506 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31501 def update!(**args) @prefixes = args[:prefixes] if args.key?(:prefixes) @scores = args[:scores] if args.key?(:scores) @suffiexes = args[:suffiexes] if args.key?(:suffiexes) @thresholds = args[:thresholds] if args.key?(:thresholds) end |