Class: Google::Cloud::AIPlatform::V1::CountTokensResponse
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::CountTokensResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/prediction_service.rb
Overview
Response message for [PredictionService.CountTokens][].
Instance Attribute Summary collapse
-
#total_billable_characters ⇒ ::Integer
The total number of billable characters counted across all instances from the request.
-
#total_tokens ⇒ ::Integer
The total number of tokens counted across all instances from the request.
Instance Attribute Details
#total_billable_characters ⇒ ::Integer
Returns The total number of billable characters counted across all instances from the request.
474 475 476 477 |
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 474 class CountTokensResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#total_tokens ⇒ ::Integer
Returns The total number of tokens counted across all instances from the request.
474 475 476 477 |
# File 'proto_docs/google/cloud/aiplatform/v1/prediction_service.rb', line 474 class CountTokensResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |