Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::LogprobsResult::TopCandidates (v0.59.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::LogprobsResult::TopCandidates.

Candidates with top log probabilities at each decoding step.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#candidates

def candidates() -> ::Array<::Google::Cloud::AIPlatform::V1::LogprobsResult::Candidate>
Returns

#candidates=

def candidates=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::LogprobsResult::Candidate>
Parameter
Returns