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.
30190 30191 30192 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30190 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
30188 30189 30190 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30188 def candidates @candidates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30195 30196 30197 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30195 def update!(**args) @candidates = args[:candidates] if args.key?(:candidates) end |