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

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

Logprobs Result

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#chosen_candidates

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

#chosen_candidates=

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

#top_candidates

def top_candidates() -> ::Array<::Google::Cloud::AIPlatform::V1::LogprobsResult::TopCandidates>
Returns

#top_candidates=

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