Class: Google::Cloud::AIPlatform::V1::ModalityTokenCount
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::ModalityTokenCount
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/content.rb
Overview
Represents token counting info for a single modality.
Instance Attribute Summary collapse
-
#modality ⇒ ::Google::Cloud::AIPlatform::V1::Modality
The modality associated with this token count.
-
#token_count ⇒ ::Integer
Number of tokens.
Instance Attribute Details
#modality ⇒ ::Google::Cloud::AIPlatform::V1::Modality
Returns The modality associated with this token count.
954 955 956 957 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 954 class ModalityTokenCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#token_count ⇒ ::Integer
Returns Number of tokens.
954 955 956 957 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 954 class ModalityTokenCount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |