Class: Google::Cloud::AIPlatform::V1::CountTokensResponse

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#total_billable_characters::Integer

Returns The total number of billable characters counted across all instances from the request.

Returns:

  • (::Integer)

    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.

Returns:

  • (::Integer)

    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