Class: Google::Apis::AiplatformV1::LearningGenaiRootTokensAndLogProbPerDecodingStepTopCandidates
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::LearningGenaiRootTokensAndLogProbPerDecodingStepTopCandidates
- 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
Candidates with top log probabilities at each decoding step.
Instance Attribute Summary collapse
-
#candidates ⇒ Array<Google::Apis::AiplatformV1::LearningGenaiRootTokensAndLogProbPerDecodingStepCandidate>
Sorted by log probability in descending order.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootTokensAndLogProbPerDecodingStepTopCandidates
constructor
A new instance of LearningGenaiRootTokensAndLogProbPerDecodingStepTopCandidates.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootTokensAndLogProbPerDecodingStepTopCandidates
Returns a new instance of LearningGenaiRootTokensAndLogProbPerDecodingStepTopCandidates.
31267 31268 31269 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31267 def initialize(**args) update!(**args) end |
Instance Attribute Details
#candidates ⇒ Array<Google::Apis::AiplatformV1::LearningGenaiRootTokensAndLogProbPerDecodingStepCandidate>
Sorted by log probability in descending order.
Corresponds to the JSON property candidates
31265 31266 31267 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31265 def candidates @candidates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31272 31273 31274 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31272 def update!(**args) @candidates = args[:candidates] if args.key?(:candidates) end |