Class: Google::Cloud::AIPlatform::V1::LogprobsResult::Candidate
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::LogprobsResult::Candidate
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/content.rb
Overview
Candidate for the logprobs token and score.
Instance Attribute Summary collapse
-
#log_probability ⇒ ::Float
The candidate's log probability.
-
#token ⇒ ::String
The candidate’s token string value.
-
#token_id ⇒ ::Integer
The candidate’s token id value.
Instance Attribute Details
#log_probability ⇒ ::Float
Returns The candidate's log probability.
472 473 474 475 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 472 class Candidate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |